From 923d18531ad76fb48dfbf3ad010b4936a333fc6a Mon Sep 17 00:00:00 2001 From: poliwop Date: Mon, 7 Oct 2024 14:25:31 -0500 Subject: [PATCH] sort file_ls --- hydradx/model/processing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hydradx/model/processing.py b/hydradx/model/processing.py index 0ffd0950..ded49f0d 100644 --- a/hydradx/model/processing.py +++ b/hydradx/model/processing.py @@ -863,6 +863,7 @@ def find_data_files(): os.listdir('.') )) file_ls = find_data_files() + file_ls.sort() file_name = '' # see if the date or block they want is included in existing data with open(file_ls[-1]) as f: