@@ -30,7 +30,6 @@ def test_tomography_context_add_tomo_tilt(mock_post, mock_get, tmp_path):
3030 (tmp_path / "Position_1_001_[30.0]_date_time_fractions.tiff" ).touch ()
3131 context .post_transfer (
3232 tmp_path / "Position_1_001_[30.0]_date_time_fractions.tiff" ,
33- role = "detector" ,
3433 required_position_files = [],
3534 required_strings = ["fractions" ],
3635 environment = env ,
@@ -41,7 +40,6 @@ def test_tomography_context_add_tomo_tilt(mock_post, mock_get, tmp_path):
4140 (tmp_path / "Position_1_002_[-30.0]_date_time_fractions.tiff" ).touch ()
4241 context .post_transfer (
4342 tmp_path / "Position_1_002_[-30.0]_date_time_fractions.tiff" ,
44- role = "detector" ,
4543 required_position_files = [],
4644 required_strings = ["fractions" ],
4745 environment = env ,
@@ -53,7 +51,6 @@ def test_tomography_context_add_tomo_tilt(mock_post, mock_get, tmp_path):
5351 mdoc .write ("[ZValue = 0]\n [ZValue = 1]\n " )
5452 context .post_transfer (
5553 tmp_path / "Position_1.mdoc" ,
56- role = "detector" ,
5754 required_position_files = [],
5855 required_strings = ["fractions" ],
5956 environment = env ,
@@ -64,7 +61,6 @@ def test_tomography_context_add_tomo_tilt(mock_post, mock_get, tmp_path):
6461 (tmp_path / "Position_2_002_[30.0]_date_time_fractions.tiff" ).touch ()
6562 context .post_transfer (
6663 tmp_path / "Position_2_002_[30.0]_date_time_fractions.tiff" ,
67- role = "detector" ,
6864 required_position_files = [],
6965 required_strings = ["fractions" ],
7066 environment = env ,
@@ -89,7 +85,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
8985 (tmp_path / "Position_1_001_[30.0]_date_time_fractions.tiff" ).touch ()
9086 context .post_transfer (
9187 tmp_path / "Position_1_001_[30.0]_date_time_fractions.tiff" ,
92- role = "detector" ,
9388 required_position_files = [],
9489 required_strings = ["fractions" ],
9590 environment = env ,
@@ -100,7 +95,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
10095 (tmp_path / "Position_1_002_[-30.0]_date_time_fractions.tiff" ).touch ()
10196 context .post_transfer (
10297 tmp_path / "Position_1_002_[-30.0]_date_time_fractions.tiff" ,
103- role = "detector" ,
10498 required_position_files = [],
10599 required_strings = ["fractions" ],
106100 environment = env ,
@@ -109,7 +103,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
109103 (tmp_path / "Position_2_002_[-30.0]_date_time_fractions.tiff" ).touch ()
110104 context .post_transfer (
111105 tmp_path / "Position_2_002_[-30.0]_date_time_fractions.tiff" ,
112- role = "detector" ,
113106 required_position_files = [],
114107 required_strings = ["fractions" ],
115108 environment = env ,
@@ -119,7 +112,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
119112 (tmp_path / "Position_2_001_[30.0]_date_time_fractions.tiff" ).touch ()
120113 context .post_transfer (
121114 tmp_path / "Position_2_001_[30.0]_date_time_fractions.tiff" ,
122- role = "detector" ,
123115 required_position_files = [],
124116 required_strings = ["fractions" ],
125117 environment = env ,
@@ -130,7 +122,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
130122 (tmp_path / "Position_3_002_[-30.0]_date_time_fractions.tiff" ).touch ()
131123 context .post_transfer (
132124 tmp_path / "Position_3_002_[-30.0]_date_time_fractions.tiff" ,
133- role = "detector" ,
134125 required_position_files = [],
135126 required_strings = ["fractions" ],
136127 environment = env ,
@@ -143,7 +134,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
143134 mdoc .write ("[ZValue = 0]\n [ZValue = 1]\n " )
144135 context .post_transfer (
145136 tmp_path / "Position_1.mdoc" ,
146- role = "detector" ,
147137 required_position_files = [],
148138 required_strings = ["fractions" ],
149139 environment = env ,
@@ -155,7 +145,6 @@ def test_tomography_context_add_tomo_tilt_out_of_order(mock_post, mock_get, tmp_
155145 mdoc .write ("[ZValue = 0]\n [ZValue = 1]\n " )
156146 context .post_transfer (
157147 tmp_path / "Position_2.mdoc" ,
158- role = "detector" ,
159148 required_position_files = [],
160149 required_strings = ["fractions" ],
161150 environment = env ,
@@ -179,7 +168,6 @@ def test_tomography_context_add_tomo_tilt_delayed_tilt(mock_post, mock_get, tmp_
179168 (tmp_path / "Position_1_001_[30.0]_date_time_fractions.tiff" ).touch ()
180169 context .post_transfer (
181170 tmp_path / "Position_1_001_[30.0]_date_time_fractions.tiff" ,
182- role = "detector" ,
183171 required_position_files = [],
184172 required_strings = ["fractions" ],
185173 environment = env ,
@@ -190,7 +178,6 @@ def test_tomography_context_add_tomo_tilt_delayed_tilt(mock_post, mock_get, tmp_
190178 (tmp_path / "Position_1_002_[-30.0]_date_time_fractions.tiff" ).touch ()
191179 context .post_transfer (
192180 tmp_path / "Position_1_002_[-30.0]_date_time_fractions.tiff" ,
193- role = "detector" ,
194181 required_position_files = [],
195182 required_strings = ["fractions" ],
196183 environment = env ,
@@ -202,7 +189,6 @@ def test_tomography_context_add_tomo_tilt_delayed_tilt(mock_post, mock_get, tmp_
202189 mdoc .write ("[ZValue = 0]\n [ZValue = 1]\n [ZValue = 2]\n " )
203190 context .post_transfer (
204191 tmp_path / "Position_1.mdoc" ,
205- role = "detector" ,
206192 required_position_files = [],
207193 required_strings = ["fractions" ],
208194 environment = env ,
@@ -213,7 +199,6 @@ def test_tomography_context_add_tomo_tilt_delayed_tilt(mock_post, mock_get, tmp_
213199 (tmp_path / "Position_1_003_[60.0]_data_time_fractions.tiff" ).touch ()
214200 new_series = context .post_transfer (
215201 tmp_path / "Position_1_003_[60.0]_data_time_fractions.tiff" ,
216- role = "detector" ,
217202 required_position_files = [],
218203 required_strings = ["fractions" ],
219204 environment = env ,
@@ -246,7 +231,6 @@ def test_setting_tilt_series_size_and_completion_from_mdoc_parsing(
246231 assert len (context ._tilt_series_sizes ) == 0
247232 context .post_transfer (
248233 Path (__file__ ).parent .parent / "util" / "test_1.mdoc" ,
249- role = "detector" ,
250234 environment = env ,
251235 required_strings = ["fractions" ],
252236 )
@@ -257,7 +241,6 @@ def test_setting_tilt_series_size_and_completion_from_mdoc_parsing(
257241 (tmp_path / f"test_1_001_[{ tilt :.1f} ]_data_time_fractions.tiff" ).touch ()
258242 context .post_transfer (
259243 tmp_path / f"test_1_001_[{ tilt :.1f} ]_data_time_fractions.tiff" ,
260- role = "detector" ,
261244 environment = env ,
262245 required_strings = ["fractions" ],
263246 )
@@ -269,7 +252,6 @@ def test_setting_tilt_series_size_and_completion_from_mdoc_parsing(
269252 (tmp_path / f"test_1_{ i :03} _[{ t :.1f} ]_data_time_fractions.tiff" ).touch ()
270253 context .post_transfer (
271254 tmp_path / f"test_1_{ i :03} _[{ t :.1f} ]_data_time_fractions.tiff" ,
272- role = "detector" ,
273255 environment = env ,
274256 required_strings = ["fractions" ],
275257 )
0 commit comments