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 bd5e4fe commit 43cfb4dCopy full SHA for 43cfb4d
nipype/interfaces/io.py
@@ -831,6 +831,7 @@ def _run_interface(self, runtime):
831
raise RuntimeError("Regular expression did not match any files!")
832
833
#sort all keys acording to out_paths
834
+ self.result["out_paths"] = human_order_sorted(self.result["out_paths"])
835
for key in self.result.keys():
836
if key == "out_paths":
837
continue
nipype/utils/misc.py
@@ -17,7 +17,7 @@ def atoi(text):
17
return int(text) if text.isdigit() else text
18
19
def natural_keys(text):
20
- if isinstance(text,tuple):
+ if isinstance(text, tuple):
21
text = text[0]
22
return [ atoi(c) for c in re.split('(\d+)', text) ]
23
0 commit comments