File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 1818 "/media/starfish/Storage/metacell/Isl1-GFP_E13-5_F129-3_CMN-R-L_02052024-GLC-stitched.ome.tiff"
1919)
2020OUTPUT_PATH = Path (
21- "/media/starfish/Storage/metacell/converted/Isl1-GFP_E13-5_F129-3_CMN-R-L_02052024-GLC-stitched"
21+ "/media/starfish/Storage/metacell/converted/Isl1-GFP_E13-5_F129-3_CMN-R-L_02052024-GLC-stitched-raw "
2222)
2323OUTPUT_PATH .mkdir (exist_ok = True , parents = True )
2424OVERWRITE = False
7272 max_mip = 2 ,
7373 factor = Vec (2 , 2 , 2 ),
7474)
75- vols = [CloudVolume ("file://" + str (OUTPUT_PATH ), mip = i ) for i in range (3 )]
76- vols [0 ].provenance .description = "Example data conversion"
77- vols [0 ].commit_info ()
78- vols [0 ].commit_provenance ()
79-
75+ vol = CloudVolume (
76+ "file://" + str (OUTPUT_PATH ),
77+ info = info ,
78+ mip = 0 ,
79+ )
80+ vol .commit_info ()
81+ vol .provenance .description = "Example data conversion"
82+ vol .commit_provenance ()
83+ del vol
84+
85+ vols = [
86+ CloudVolume ("file://" + str (OUTPUT_PATH ), mip = i , compress = False ) for i in range (3 )
87+ ]
8088# %% Setup somewhere to hold progress
8189progress_dir = OUTPUT_PATH / "progress"
8290progress_dir .mkdir (exist_ok = True )
You can’t perform that action at this time.
0 commit comments