Skip to content

Commit

Permalink
Merge pull request #1512 from Antho2422/Antho2422/add_sorted_listdir_…
Browse files Browse the repository at this point in the history
…for_neuralynx_headers

Added a sorted to the listdir of the files in neuralynx folder to avo…
  • Loading branch information
zm711 authored Jul 25, 2024
2 parents 44f0b2b + 4d4d7e8 commit 908945a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/rawio/neuralynxrawio/neuralynxrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _parse_header(self):
event_annotations = []

if self.rawmode == "one-dir":
filenames = os.listdir(self.dirname)
filenames = sorted(os.listdir(self.dirname))
else:
filenames = self.include_filenames

Expand Down

0 comments on commit 908945a

Please sign in to comment.