@@ -83,7 +83,7 @@ def ssh_setup(self, pathtable_and_project):
83
83
ssh_test_utils .setup_project_and_container_for_ssh (project )
84
84
ssh_test_utils .setup_ssh_connection (project )
85
85
86
- project .upload_all ()
86
+ project .upload_rawdata ()
87
87
88
88
return [pathtable , project ]
89
89
@@ -122,7 +122,9 @@ def test_combinations_filesystem_transfer(
122
122
swap_last_folder_only = False ,
123
123
)[0 ]
124
124
125
- transfer_function ("rawdata" , sub_names , ses_names , datatype , init_log = False )
125
+ transfer_function (
126
+ "rawdata" , sub_names , ses_names , datatype , init_log = False
127
+ )
126
128
127
129
if upload_or_download == "download" :
128
130
test_utils .swap_local_and_central_paths (
@@ -196,7 +198,9 @@ def test_combinations_ssh_transfer(
196
198
)
197
199
project .update_config ("central_path" , tmp_central_path )
198
200
199
- project .upload (sub_names , ses_names , datatype , init_log = False )
201
+ project .upload_custom (
202
+ "rawdata" , sub_names , ses_names , datatype , init_log = False
203
+ )
200
204
201
205
expected_transferred_paths = self .get_expected_transferred_paths (
202
206
pathtable , sub_names , ses_names , datatype
@@ -225,7 +229,9 @@ def test_combinations_ssh_transfer(
225
229
project .update_config ("local_path" , tmp_local_path )
226
230
project .update_config ("central_path" , true_central_path )
227
231
228
- project .download (sub_names , ses_names , datatype , init_log = False )
232
+ project .download_custom (
233
+ "rawdata" , sub_names , ses_names , datatype , init_log = False
234
+ )
229
235
230
236
# Find the transferred paths, tidy them up
231
237
# and check expected paths were transferred.
@@ -281,7 +287,7 @@ def get_expected_transferred_paths(
281
287
expected_paths = pd .concat ([datatype_folders , extra_folders ])
282
288
expected_paths = expected_paths .drop_duplicates (subset = "path" )
283
289
284
- expected_paths = self .remove_path_before_rawdata (expected_paths )
290
+ expected_paths = self .remove_path_before_rawdata (expected_paths . path )
285
291
286
292
return expected_paths
287
293
@@ -309,7 +315,7 @@ def make_pathtable_search_filter(self, sub_names, ses_names, datatype):
309
315
]
310
316
else :
311
317
for dtype in datatype :
312
- if dtype == "all_ses_level_non_datatype " :
318
+ if dtype == "all_non_datatype " :
313
319
extra_arguments += [
314
320
f"(parent_sub == '{ sub } ' & parent_ses == '{ ses } ' "
315
321
f"& is_ses_level_non_datatype == True)"
0 commit comments