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 65a4cfd commit f67c85dCopy full SHA for f67c85d
nipype/pipeline/engine.py
@@ -2136,9 +2136,9 @@ def _get_hashval(self):
2136
rm_extra = self.config['execution']['remove_unnecessary_outputs']
2137
if str2bool(rm_extra) and self.needed_outputs:
2138
hashobject = md5()
2139
- hashobject.update(hashvalue)
+ hashobject.update(hashvalue.encode())
2140
sorted_outputs = sorted(self.needed_outputs)
2141
- hashobject.update(str(sorted_outputs))
+ hashobject.update(str(sorted_outputs).encode())
2142
hashvalue = hashobject.hexdigest()
2143
hashed_inputs.append(('needed_outputs', sorted_outputs))
2144
return hashed_inputs, hashvalue
0 commit comments