Skip to content

Commit

Permalink
Pass in n_threads from config file into preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvrajjain2003 committed Feb 25, 2024
1 parent f846d71 commit 2337e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clpipe/fmri_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def fmriprep_process(
threads_arg = ""
if thread_command_active:
logger.debug("Threads command: ACTIVE")
threads_arg = f"{N_THREADS_FLAG} " + batch_manager.config.n_threads_default
threads_arg = f"{N_THREADS_FLAG} " + config.fmriprep.n_threads

fmriprep_args = {
"bids_dir": config.fmriprep.bids_directory,
Expand Down

0 comments on commit 2337e06

Please sign in to comment.