Unverified Commit 0542d35d authored by Julen Etxaniz's avatar Julen Etxaniz Committed by GitHub
Browse files

Sort task names to keep the same order always (#474)

This makes comparing the results of different models easier because tasks are ordered in the same way.
parent 3c210d4e
......@@ -51,7 +51,7 @@ def pattern_match(patterns, source_list):
for pattern in patterns:
for matching in fnmatch.filter(source_list, pattern):
task_names.add(matching)
return list(task_names)
return sorted(list(task_names))
def main():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment