Skip to content

Commit

Permalink
fix: fix incorrect order file
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan Le committed Sep 11, 2023
1 parent 6b8e1bd commit e2b363d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chem_spectra/lib/converter/bagit/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __read(self, target_dir, fname):
list_file_names = []
data_dir_path = os.path.join(target_dir, 'data')
for (dirpath, dirnames, filenames) in os.walk(data_dir_path):
filenames.sort()
list_file_names.extend(filenames)
break
if (len(list_file_names) == 0):
Expand Down

0 comments on commit e2b363d

Please sign in to comment.