Skip to content

Commit

Permalink
Merge pull request #64 from openalea/app_info
Browse files Browse the repository at this point in the history
Add info on the application & update NB
  • Loading branch information
pomme-abricot authored Aug 31, 2021
2 parents 3afe637 + 70c2886 commit 7396efc
Show file tree
Hide file tree
Showing 14 changed files with 6,449 additions and 130,589 deletions.
82 changes: 57 additions & 25 deletions example/tutorials/1.import_and_read_MTG.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@
"name": "stdout",
"output_type": "stream",
"text": [
"== Line 21: A\tA\t+\t?\n",
"Unknown right symbols <filter object at 0x000001D079895820>.\n",
"== Line 22: A\tA\t<\t1\n",
"Unknown right symbols <filter object at 0x000001D079895730>.\n",
"== Line 23: T\tT\t+\t?\n",
"Unknown right symbols <filter object at 0x000001D079895820>.\n",
"== Line 24: T\tT\t<\t1\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n",
"Unknown right symbols <filter object at 0x000001D079895490>.\n",
"MTG : nb_vertices=158, nb_scales=4\n"
]
}
Expand All @@ -112,13 +104,6 @@
"print(g)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -128,12 +113,21 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"MTG : nb_vertices=37860, nb_scales=4\n"
]
}
],
"source": [
"metaMTG= import_mtgfile(filename=[\"Gariguette\", \"Capriss\"])\n",
"print(metaMTG)"
"metaMTG= import_mtgfile(filename=[\"Capriss\", \"Ciflorette\", \"Clery\", \"Cir107\", \"Darselect\", \"Gariguette\"])\n",
"print(metaMTG)\n",
"g=metaMTG"
]
},
{
Expand Down Expand Up @@ -171,7 +165,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -191,9 +185,20 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"dict_keys(['edge_type', 'label', 'Experiment_name', 'Sample_date', 'Genotype', 'Modality', 'Plant_ID', '_line', 'DBI', 'Stade', 'PETLG', 'LFTLG_CENTRAL', 'LFTLG_LEFT', 'INFLOLG', 'FLWRNUMBER', 'FLWRNUMBER_OPEN', 'FLWRNUMBER_ABORTED', 'SAMPLING', 'FLWRNUMBER_CLOSED'])"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"metaMTG.properties().keys()"
]
Expand All @@ -207,17 +212,37 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Darselect : 54 plants\n",
"Cir107 : 54 plants\n",
"Ciflorette : 54 plants\n",
"Gariguette : 54 plants\n",
"Capriss : 54 plants\n",
"Clery : 54 plants\n"
]
}
],
"source": [
"plant_number_by_varieties(g=metaMTG)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -232,6 +257,13 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 7396efc

Please sign in to comment.