Skip to content

Commit a3fb9d8

Browse files
authored
Merge pull request #4 from Aco-Hub/cy/assets
Update presentation assets
2 parents 40b37a5 + 52e5231 commit a3fb9d8

8 files changed

Lines changed: 28 additions & 11 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ htmlcov/
3535

3636
# DATA folder
3737
DATA/
38-
book/_build/
38+
book/_build/
39+
book/tracked/

book/_static/images/logo_round.png

-4.13 MB
Loading
712 KB
Loading

book/tracking_tastra.ipynb

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,21 @@
262262
},
263263
{
264264
"cell_type": "code",
265-
"execution_count": 58,
265+
"execution_count": 69,
266266
"id": "9bf2e196",
267267
"metadata": {},
268268
"outputs": [
269269
{
270270
"name": "stderr",
271271
"output_type": "stream",
272272
"text": [
273-
"INFO:napari_ctc_io.reader:Loaded tracks from C:\\Users\\Cyril\\Desktop\\Code\\tumorscope\\DATA\\tracked\\man_track.txt\n",
273+
"INFO:napari_ctc_io.reader:Loaded tracks from C:\\Users\\Cyril\\Desktop\\Code\\tumorscope\\DATA\\tracked\\man_track.txt\n"
274+
]
275+
},
276+
{
277+
"name": "stderr",
278+
"output_type": "stream",
279+
"text": [
274280
"INFO:napari_ctc_io.reader:Running CTC format checks\n",
275281
"WARNING:napari_ctc_io.reader:1 non-connected masks at t=1.\n",
276282
"WARNING:napari_ctc_io.reader:1 non-connected masks at t=2.\n",
@@ -401,7 +407,7 @@
401407
},
402408
{
403409
"cell_type": "code",
404-
"execution_count": 59,
410+
"execution_count": 70,
405411
"id": "185c7bf1",
406412
"metadata": {},
407413
"outputs": [],
@@ -423,7 +429,7 @@
423429
},
424430
{
425431
"cell_type": "code",
426-
"execution_count": 60,
432+
"execution_count": 71,
427433
"id": "cc41fefb",
428434
"metadata": {},
429435
"outputs": [],
@@ -444,7 +450,7 @@
444450
},
445451
{
446452
"cell_type": "code",
447-
"execution_count": 61,
453+
"execution_count": 72,
448454
"id": "5f36ef88",
449455
"metadata": {},
450456
"outputs": [],
@@ -454,7 +460,7 @@
454460
},
455461
{
456462
"cell_type": "code",
457-
"execution_count": 62,
463+
"execution_count": 73,
458464
"id": "4f46f63d",
459465
"metadata": {},
460466
"outputs": [
@@ -489,7 +495,7 @@
489495
}
490496
],
491497
"conversionMethod": "pd.DataFrame",
492-
"ref": "2e0ec2cc-c458-4677-87bc-790c67f820af",
498+
"ref": "34736d26-a2d1-49e1-9b23-c5740b24207e",
493499
"rows": [
494500
[
495501
"0",
@@ -972,7 +978,7 @@
972978
"[23183 rows x 4 columns]"
973979
]
974980
},
975-
"execution_count": 62,
981+
"execution_count": 73,
976982
"metadata": {},
977983
"output_type": "execute_result"
978984
}
@@ -991,15 +997,25 @@
991997
},
992998
{
993999
"cell_type": "code",
994-
"execution_count": null,
1000+
"execution_count": 75,
9951001
"id": "ac2cb037",
9961002
"metadata": {},
997-
"outputs": [],
1003+
"outputs": [
1004+
{
1005+
"name": "stderr",
1006+
"output_type": "stream",
1007+
"text": [
1008+
"Saving masks: 100%|██████████| 162/162 [00:03<00:00, 49.56it/s]\n"
1009+
]
1010+
}
1011+
],
9981012
"source": [
9991013
"from tqdm import tqdm\n",
10001014
"import tifffile\n",
10011015
"\n",
10021016
"outdir = Path(\"./tracked\")\n",
1017+
"if not outdir.exists():\n",
1018+
" outdir.mkdir(parents=False, exist_ok=True)\n",
10031019
"\n",
10041020
"filtered_tracks_df.to_csv(outdir / \"man_track.txt\", index=False, header=False, sep=\" \")\n",
10051021
"for i, m in tqdm(enumerate(masks), total=len(masks), desc=\"Saving masks\"):\n",
1.39 MB
Loading
22.1 MB
Loading
7.32 MB
Binary file not shown.
10.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)