@@ -135,7 +135,6 @@ def get_metadata_dataframe():
135135 "level,coarsening_xy,full_res_pxl_sizes_zyx" , list_params
136136)
137137def test_ROI_indices_3D (level , coarsening_xy , full_res_pxl_sizes_zyx ):
138-
139138 metadata_dataframe = get_metadata_dataframe ()
140139 adata = prepare_FOV_ROI_table (metadata_dataframe )
141140 assert list (adata .obs_names ) == FOV_NAMES
@@ -193,7 +192,6 @@ def test_ROI_indices_3D(level, coarsening_xy, full_res_pxl_sizes_zyx):
193192 "level,coarsening_xy,full_res_pxl_sizes_zyx" , list_params
194193)
195194def test_ROI_indices_2D (level , coarsening_xy , full_res_pxl_sizes_zyx ):
196-
197195 metadata_dataframe = get_metadata_dataframe ()
198196 adata = prepare_FOV_ROI_table (metadata_dataframe )
199197 adata = convert_ROIs_from_3D_to_2D (adata , PIXEL_SIZE_Z )
@@ -238,7 +236,6 @@ def test_prepare_well_ROI_table(testdata_path: Path):
238236
239237
240238def test_overlaps_in_indices ():
241-
242239 list_indices = [
243240 [0 , 1 , 100 , 200 , 1000 , 2000 ],
244241 [0 , 1 , 200 , 300 , 1000 , 2000 ],
@@ -478,7 +475,6 @@ def test_load_region_fail():
478475
479476
480477def test_is_ROI_table_valid (tmp_path ):
481-
482478 # Write valid table to a zarr group
483479 columns = EXPECTED_COLUMNS .copy ()
484480 adata = ad .AnnData (np .ones ((1 , len (columns ))))
@@ -576,9 +572,9 @@ def test_search_first_ROI(testdata_path: Path):
576572 )
577573 )
578574 full_res_pxl_sizes_zyx = [
579- big_df ["pixel_size_z" ][0 ],
580- big_df ["pixel_size_y" ][0 ],
581- big_df ["pixel_size_x" ][0 ],
575+ big_df ["pixel_size_z" ]. iloc [0 ],
576+ big_df ["pixel_size_y" ]. iloc [0 ],
577+ big_df ["pixel_size_x" ]. iloc [0 ],
582578 ]
583579
584580 well_ids = big_df .well_id .unique ()
0 commit comments