66from imcflibs .imagej import bdv
77
88
9- def set_default_values (
10- project_filename , file_path , series_type = "Tiles"
11- ):
9+ def set_default_values (project_filename , file_path , series_type = "Tiles" ):
1210 """Set the default values for dataset definitions.
1311
1412 Parameters
@@ -106,9 +104,7 @@ def test_define_dataset_auto_tile(tmp_path, caplog):
106104 final_call = "IJ.run(cmd=[%s], params=[%s])" % (cmd , options )
107105
108106 # Define the dataset using the "Auto-Loader" option
109- bdv .define_dataset_auto (
110- project_filename , file_info ["path" ], bf_series_type
111- )
107+ bdv .define_dataset_auto (project_filename , file_info ["path" ], bf_series_type )
112108 # Check if the final call is in the log
113109 assert final_call == caplog .messages [0 ]
114110
@@ -146,9 +142,7 @@ def test_define_dataset_auto_angle(tmp_path, caplog):
146142 cmd = "Define Multi-View Dataset"
147143
148144 # Set the default values for dataset definitions
149- options = set_default_values (
150- project_filename , file_path , bf_series_type
151- )
145+ options = set_default_values (project_filename , file_path , bf_series_type )
152146
153147 # Construct the options for dataset definitions
154148 options = (
@@ -175,8 +169,6 @@ def test_define_dataset_auto_angle(tmp_path, caplog):
175169 final_call = "IJ.run(cmd=[%s], params=[%s])" % (cmd , options )
176170
177171 # Define the dataset using the "Auto-Loader" option
178- bdv .define_dataset_auto (
179- project_filename , file_info ["path" ], bf_series_type
180- )
172+ bdv .define_dataset_auto (project_filename , file_info ["path" ], bf_series_type )
181173 # Check if the final call is in the log
182174 assert final_call == caplog .messages [0 ]
0 commit comments