mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
Fix result file order.
This commit is contained in:
parent
a267de0867
commit
b05718c03d
@ -118,7 +118,7 @@ def job(job_id):
|
||||
if job.status == 'complete':
|
||||
files[file]['results'] = {}
|
||||
results_dir = os.path.join(dir, 'output', file)
|
||||
for result in os.listdir(results_dir):
|
||||
for result in sorted(os.listdir(results_dir)):
|
||||
result_type = result.rsplit(".", 1)[1]
|
||||
files[file]['results'][result_type] = {}
|
||||
files[file]['results'][result_type]['path'] = os.path.join(
|
||||
|
Loading…
Reference in New Issue
Block a user