Skip to content

Commit 39a2cbd

Browse files
satraeffigies
authored andcommitted
fix: disable for all jobs
1 parent 591fc63 commit 39a2cbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nipype/pipeline/plugins/tools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,9 @@ def create_pyscript(node, updatehash=False, store_exception=True):
128128
import os
129129
value = os.environ.get('NO_NIPYPE_ET', None)
130130
if value is None:
131+
# disable ET for any submitted job
131132
os.environ['NO_NIPYPE_ET'] = "1"
132133
from nipype import config, logging
133-
if value is None:
134-
del os.environ['NO_NIPYPE_ET']
135134
136135
from nipype.utils.filemanip import loadpkl, savepkl
137136
from socket import gethostname

0 commit comments

Comments
 (0)