Skip to content
Snippets Groups Projects
Commit 0340b1b5 authored by Frederik Zahle's avatar Frederik Zahle
Browse files

sort dlc filenames when reading into list of cases to avoid random order

parent 04de4523
No related branches found
No related tags found
No related merge requests found
......@@ -726,7 +726,7 @@ def read_excel_files(proot, fext='xlsx', pignore=None, sheet=0,
df_list = {}
# find all dlc defintions in the subfolders
for root, dirs, files in os.walk(proot):
for file_name in files:
for file_name in sorted(files):
if not file_name.split('.')[-1] == fext:
continue
f_target = os.path.join(root, file_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment