Skip to content

Commit

Permalink
Make sure files are sorted when parsing (#57)
Browse files Browse the repository at this point in the history
* make sure files are sorted

* sort all files instead
  • Loading branch information
mgrover1 authored Jun 28, 2021
1 parent bc29591 commit 71f5e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecgtools/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _glob_dir(directory, extension):
filelist = itertools.chain(*filelist)
if self.exclude_patterns:
filelist = list(filter(_filter_files, filelist))
self.filelist = list(filelist)
self.filelist = sorted(list(filelist))
return self

def _parse(self, parsing_func, parsing_func_kwargs=None):
Expand Down

0 comments on commit 71f5e60

Please sign in to comment.