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.
1 parent c20e7f0 commit c08d84eCopy full SHA for c08d84e
nipype/pipeline/engine/nodes.py
@@ -25,6 +25,7 @@
25
import socket
26
from copy import deepcopy
27
from glob import glob
28
+from logging import INFO
29
30
from tempfile import mkdtemp
31
from future import standard_library
@@ -356,7 +357,7 @@ def is_cached(self, rm_outdated=False):
356
357
logger.info('[Node] Outdated cache found for "%s".', self.fullname)
358
# If logging is more verbose than INFO (20), print diff between hashes
359
loglevel = logger.getEffectiveLevel()
- if loglevel < 40: # Lazy logging: only < INFO
360
+ if loglevel < INFO: # Lazy logging: only < INFO
361
exp_hash_file_base = split_filename(hashfiles[0])[1]
362
exp_hash = exp_hash_file_base[len('_0x'):]
363
logger.log(loglevel, "[Node] Old/new hashes = %s/%s",
0 commit comments