We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cd9bb2 + f94a82c commit 103bf84Copy full SHA for 103bf84
nipype/interfaces/afni/base.py
@@ -160,9 +160,11 @@ def __init__(self, **inputs):
160
else:
161
self._output_update()
162
163
+ def _run_interface(self, runtime):
164
# Update num threads estimate from OMP_NUM_THREADS env var
165
# Default to 1 if not set
- os.environ['OMP_NUM_THREADS'] = str(self.num_threads)
166
+ self.inputs.environ['OMP_NUM_THREADS'] = str(self.num_threads)
167
+ return super(AFNICommand, self)._run_interface(runtime)
168
169
def _output_update(self):
170
""" i think? updates class private attribute based on instance input
0 commit comments