Skip to content

Commit 7396efc

Browse files
Merge pull request #64 from openalea/app_info
Add info on the application & update NB
2 parents 3afe637 + 70c2886 commit 7396efc

14 files changed

+6449
-130589
lines changed

example/tutorials/1.import_and_read_MTG.ipynb

Lines changed: 57 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@
9595
"name": "stdout",
9696
"output_type": "stream",
9797
"text": [
98-
"== Line 21: A\tA\t+\t?\n",
99-
"Unknown right symbols <filter object at 0x000001D079895820>.\n",
100-
"== Line 22: A\tA\t<\t1\n",
101-
"Unknown right symbols <filter object at 0x000001D079895730>.\n",
102-
"== Line 23: T\tT\t+\t?\n",
103-
"Unknown right symbols <filter object at 0x000001D079895820>.\n",
104-
"== 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",
105-
"Unknown right symbols <filter object at 0x000001D079895490>.\n",
10698
"MTG : nb_vertices=158, nb_scales=4\n"
10799
]
108100
}
@@ -112,13 +104,6 @@
112104
"print(g)\n"
113105
]
114106
},
115-
{
116-
"cell_type": "code",
117-
"execution_count": null,
118-
"metadata": {},
119-
"outputs": [],
120-
"source": []
121-
},
122107
{
123108
"cell_type": "markdown",
124109
"metadata": {},
@@ -128,12 +113,21 @@
128113
},
129114
{
130115
"cell_type": "code",
131-
"execution_count": null,
116+
"execution_count": 5,
132117
"metadata": {},
133-
"outputs": [],
118+
"outputs": [
119+
{
120+
"name": "stdout",
121+
"output_type": "stream",
122+
"text": [
123+
"MTG : nb_vertices=37860, nb_scales=4\n"
124+
]
125+
}
126+
],
134127
"source": [
135-
"metaMTG= import_mtgfile(filename=[\"Gariguette\", \"Capriss\"])\n",
136-
"print(metaMTG)"
128+
"metaMTG= import_mtgfile(filename=[\"Capriss\", \"Ciflorette\", \"Clery\", \"Cir107\", \"Darselect\", \"Gariguette\"])\n",
129+
"print(metaMTG)\n",
130+
"g=metaMTG"
137131
]
138132
},
139133
{
@@ -171,7 +165,7 @@
171165
},
172166
{
173167
"cell_type": "code",
174-
"execution_count": null,
168+
"execution_count": 6,
175169
"metadata": {},
176170
"outputs": [],
177171
"source": [
@@ -191,9 +185,20 @@
191185
},
192186
{
193187
"cell_type": "code",
194-
"execution_count": null,
188+
"execution_count": 7,
195189
"metadata": {},
196-
"outputs": [],
190+
"outputs": [
191+
{
192+
"data": {
193+
"text/plain": [
194+
"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'])"
195+
]
196+
},
197+
"execution_count": 7,
198+
"metadata": {},
199+
"output_type": "execute_result"
200+
}
201+
],
197202
"source": [
198203
"metaMTG.properties().keys()"
199204
]
@@ -207,17 +212,37 @@
207212
},
208213
{
209214
"cell_type": "code",
210-
"execution_count": null,
215+
"execution_count": 8,
211216
"metadata": {},
212-
"outputs": [],
217+
"outputs": [
218+
{
219+
"name": "stdout",
220+
"output_type": "stream",
221+
"text": [
222+
"Darselect : 54 plants\n",
223+
"Cir107 : 54 plants\n",
224+
"Ciflorette : 54 plants\n",
225+
"Gariguette : 54 plants\n",
226+
"Capriss : 54 plants\n",
227+
"Clery : 54 plants\n"
228+
]
229+
}
230+
],
213231
"source": [
214232
"plant_number_by_varieties(g=metaMTG)"
215233
]
234+
},
235+
{
236+
"cell_type": "code",
237+
"execution_count": null,
238+
"metadata": {},
239+
"outputs": [],
240+
"source": []
216241
}
217242
],
218243
"metadata": {
219244
"kernelspec": {
220-
"display_name": "Python 3 (ipykernel)",
245+
"display_name": "Python 3",
221246
"language": "python",
222247
"name": "python3"
223248
},
@@ -232,6 +257,13 @@
232257
"nbconvert_exporter": "python",
233258
"pygments_lexer": "ipython3",
234259
"version": "3.8.10"
260+
},
261+
"widgets": {
262+
"application/vnd.jupyter.widget-state+json": {
263+
"state": {},
264+
"version_major": 2,
265+
"version_minor": 0
266+
}
235267
}
236268
},
237269
"nbformat": 4,

0 commit comments

Comments
 (0)