Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read recording* folders in alphabatical order like 1,10,2,3,.... #28

Open
Yifang-Yuan opened this issue Feb 18, 2024 · 1 comment
Open

Comments

@Yifang-Yuan
Copy link

Hi, I found in your BinaryRecording.py (and the other two formats), it uses enumerate to read recording* folders, which is in an order of : 1,10,2,3,4 ..., the recording index will be wrong if you have more than 10 recording in the same experiment folder.

I modified this, not sure if others have this issue:
https://github.com/Yifang-Yuan/OptoEphysAnalysis/tree/main/TroubleShootingOthersPackage

@jsiegle
Copy link
Member

jsiegle commented Feb 20, 2024

Thanks for pointing this out! We will fix the directory sorting order in the main package, using your code as a guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants