Skip to content

Commit 9c7cb54

Browse files
committed
doc(filesystem):inventory of scan-related data
1 parent a6bc420 commit 9c7cb54

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

src/ZooProcess_lib/ZooscanFolder.py

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,25 @@ def list_samples_with_state(self) -> list[str]:
5656
return []
5757

5858
def list_scans_with_state(self) -> Generator[str, None, None]:
59-
"""The .tif in self is not really mandatory, let's not assume it's there
60-
./Zooscan_scan/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1.tif
61-
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_log.bak
62-
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_log.txt
63-
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_meta.txt
64-
Below file should be identical to content of the scan TSV file.
65-
./Zooscan_scan/_work/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_meta.txt
59+
"""TODO: Finish inventory using:
60+
zooscan_lov/Zooscan_apero_tha_bioness_2_sn033$ find . -name "apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2*" | sort
61+
Directory:
62+
./Zooscan_scan/_work/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1/
63+
CSV lines:
64+
./Zooscan_meta/zooscan_scan_header_table.csv
65+
./Zooscan_meta/zooscan_scan_header_table.bak
66+
Files:
67+
Images:
68+
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_raw_1.tif
69+
./Zooscan_scan/_work/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_vis1.zip
70+
Image, not really mandatory:
71+
./Zooscan_scan/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1.tif
72+
Text files:
73+
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_log.bak
74+
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_log.txt
75+
./Zooscan_scan/_raw/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_meta.txt
76+
Below file should be identical to content of the scan TSV file.
77+
./Zooscan_scan/_work/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1/apero2023_tha_bioness_013_st46_d_n4_d2_2_sur_2_1_meta.txt
6678
"""
6779
for an_entry in self.zooscan_scan.work.path.iterdir():
6880
if an_entry.is_dir():

0 commit comments

Comments
 (0)