Skip to content

Commit

Permalink
🐛 Move pipeline import earlier in configuration process
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Feb 15, 2021
1 parent f185ed8 commit 1cbbdaf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions dev/docker_data/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,9 @@ def load_cpac_data_config(data_config_file, participant_label,
c.update(overrides)

if args.anat_only:
# TODO
# c.update({'functional_preproc': 'run': Off})?
c.update({"runFunctional": [0]})
c.update({'FROM': 'anat-only'})

c = Configuration(c)

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

c = Configuration(c)

c['disable_log'] = args.disable_file_logging

if args.save_working_dir is not False:
Expand Down

0 comments on commit 1cbbdaf

Please sign in to comment.