Skip to content

Commit 1cbbdaf

Browse files
committed
🐛 Move pipeline import earlier in configuration process
1 parent f185ed8 commit 1cbbdaf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

dev/docker_data/run.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,9 @@ def load_cpac_data_config(data_config_file, participant_label,
477477
c.update(overrides)
478478

479479
if args.anat_only:
480-
# TODO
481-
# c.update({'functional_preproc': 'run': Off})?
482-
c.update({"runFunctional": [0]})
480+
c.update({'FROM': 'anat-only'})
481+
482+
c = Configuration(c)
483483

484484
# get the aws_input_credentials, if any are specified
485485
if args.aws_input_creds:
@@ -524,8 +524,6 @@ def load_cpac_data_config(data_config_file, participant_label,
524524
c['pipeline_setup']['system_config']['max_cores_per_participant'], int(c['pipeline_setup']['system_config']['num_ants_threads'])
525525
)
526526

527-
c = Configuration(c)
528-
529527
c['disable_log'] = args.disable_file_logging
530528

531529
if args.save_working_dir is not False:

0 commit comments

Comments
 (0)