@@ -359,10 +359,8 @@ def apply(
359
359
acq_group_level ,
360
360
config ,
361
361
edited_summary_tsv ,
362
- edited_tsv_prefix ,
363
362
files_tsv ,
364
363
new_tsv_prefix ,
365
- output_prefix ,
366
364
container ,
367
365
):
368
366
"""Apply the tsv changes.
@@ -379,14 +377,10 @@ def apply(
379
377
Path to the grouping config file.
380
378
edited_summary_tsv : :obj:`pathlib.Path`
381
379
Path to the edited summary tsv.
382
- edited_tsv_prefix : :obj:`pathlib.Path`
383
- Path to the edited tsv prefix.
384
380
files_tsv : :obj:`pathlib.Path`
385
381
Path to the files tsv.
386
382
new_tsv_prefix : :obj:`pathlib.Path`
387
383
Path to the new tsv prefix.
388
- output_prefix : :obj:`pathlib.Path`
389
- Output filename prefix.
390
384
container : :obj:`str`
391
385
Container in which to run the workflow.
392
386
"""
@@ -412,8 +406,8 @@ def apply(
412
406
# Run it through a container
413
407
container_type = _get_container_type (container )
414
408
bids_dir_link = str (bids_dir .absolute ()) + ":/bids"
415
- input_summary_tsv_dir_link = str (edited_tsv_prefix .parent .absolute ()) + ":/in_summary_tsv:ro"
416
- input_files_tsv_dir_link = str (edited_tsv_prefix .parent .absolute ()) + ":/in_files_tsv:ro"
409
+ input_summary_tsv_dir_link = str (edited_summary_tsv .parent .absolute ()) + ":/in_summary_tsv:ro"
410
+ input_files_tsv_dir_link = str (edited_summary_tsv .parent .absolute ()) + ":/in_files_tsv:ro"
417
411
output_tsv_dir_link = str (new_tsv_prefix .parent .absolute ()) + ":/out_tsv:rw"
418
412
419
413
# FROM BOND-GROUP
@@ -422,7 +416,7 @@ def apply(
422
416
input_config_dir_link = str (config .parent .absolute ()) + ":/in_config:ro"
423
417
linked_input_config = "/in_config/" + config .name
424
418
425
- linked_output_prefix = "/tsv/" + output_prefix .name
419
+ linked_output_prefix = "/tsv/" + new_tsv_prefix .name
426
420
427
421
####
428
422
linked_input_summary_tsv = "/in_summary_tsv/" + edited_summary_tsv .name
0 commit comments