Skip to content

Commit ec6eefb

Browse files
committed
fix: environment variable must be a string
1 parent bc813b5 commit ec6eefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def _num_threads_update(self):
484484
if 'OMP_NUM_THREADS' in self.inputs.environ:
485485
del self.inputs.environ['OMP_NUM_THREADS']
486486
else:
487-
self.inputs.environ['OMP_NUM_THREADS'] = self.inputs.num_threads
487+
self.inputs.environ['OMP_NUM_THREADS'] = str(self.inputs.num_threads)
488488

489489
def _format_arg(self, name, spec, value):
490490
if name == 'in_topup_fieldcoef':

0 commit comments

Comments
 (0)