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 601b8a3 commit 1c38232Copy full SHA for 1c38232
nipype/utils/provenance.py
@@ -83,7 +83,7 @@ def get_hashval(inputdict, skip=None):
83
dict_nofilename[outname] = _get_sorteddict(val)
84
dict_withhash[outname] = _get_sorteddict(val, True)
85
sorted_dict = str(sorted(dict_nofilename.items()))
86
- return (dict_withhash, md5(str(dict_nofilename).encode()).hexdigest())
+ return (dict_withhash, md5(sorted_dict.encode()).hexdigest())
87
88
89
def _get_sorteddict(object, dictwithhash=False):
0 commit comments