Skip to content

Commit 908945a

Browse files
authored
Merge pull request #1512 from Antho2422/Antho2422/add_sorted_listdir_for_neuralynx_headers
Added a sorted to the listdir of the files in neuralynx folder to avo…
2 parents 44f0b2b + 4d4d7e8 commit 908945a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/neuralynxrawio/neuralynxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _parse_header(self):
213213
event_annotations = []
214214

215215
if self.rawmode == "one-dir":
216-
filenames = os.listdir(self.dirname)
216+
filenames = sorted(os.listdir(self.dirname))
217217
else:
218218
filenames = self.include_filenames
219219

0 commit comments

Comments
 (0)