File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,12 @@ def projection(
109109 # Ends
110110
111111 # Copy over the tables
112- for roi_table in original_ngff_image .tables .list (table_type = "roi_table" ):
113- table = original_ngff_image .tables .get_table (roi_table )
112+ for roi_table_name in original_ngff_image .tables .list (
113+ table_type = "roi_table"
114+ ):
115+ table = original_ngff_image .tables .get_table (roi_table_name )
114116 mip_table = new_ngff_image .tables .new (
115- roi_table , table_type = "roi_table" , overwrite = True
117+ roi_table_name , table_type = "roi_table" , overwrite = True
116118 )
117119
118120 roi_list = []
@@ -123,7 +125,7 @@ def projection(
123125
124126 mip_table .set_rois (roi_list , overwrite = True )
125127 mip_table .consolidate ()
126- ngio_logger .info (f"Table { roi_table } copied." )
128+ ngio_logger .info (f"Table { roi_table_name } copied." )
127129
128130 # Generate image_list_updates
129131 image_list_update_dict = dict (
You can’t perform that action at this time.
0 commit comments