Skip to content

Commit 8fc22f5

Browse files
committed
Fixed boolean expression
1 parent 42b5ce2 commit 8fc22f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ def run(self, updatehash=False):
13371337
hashed_inputs)
13381338
cannot_rerun = (str2bool(
13391339
self.config['execution']['stop_on_first_rerun'])
1340-
and (self.overwrite is not None
1340+
and not (self.overwrite == None
13411341
and self._interface.always_run))
13421342
if cannot_rerun:
13431343
raise Exception(("Cannot rerun when 'stop_on_first_rerun' "

0 commit comments

Comments
 (0)