Skip to content

Warning "Multithreading is deprecated. Remove the num_threads input" #1042

@HippocampusGirl

Description

@HippocampusGirl

What happened?

fMRIPrep version 25.2.3 (used through HALFpipe) prints the following warning message consistently for me:

Multithreading is deprecated. Remove the num_threads input.

The warning is raised here

if isdefined(self.inputs.num_threads):
LOGGER.warning('Multithreading is deprecated. Remove the num_threads input.')

This happens because the num_threads input is set automatically by Nipype, so it will always be defined.
https://github.com/nipy/nipype/blob/a8d71305b7c16965192ad0156e6c8df25f6b0acf/nipype/pipeline/engine/nodes.py#L202-L203

Does anyone else also get this warning message?

What command did you use?

halfpipe

What version of the software are you running?

fMRIPrep 25.2.3

How are you running this software?

Docker

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

[2026-04-13 13:12:17,0436] [nipype.interface] [WARNING  ] Multithreading is deprecated. Remove the num_threads input.

Additional information / screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions