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

Structure of paths #19

Open
JohnStout opened this issue Nov 16, 2023 · 3 comments
Open

Structure of paths #19

JohnStout opened this issue Nov 16, 2023 · 3 comments

Comments

@JohnStout
Copy link

JohnStout commented Nov 16, 2023

Currently using the miniscope v4.4 with the latest software from Aharoni. Unfortunately, the saved structure mentioned in the ndx-miniscope intro does not match the structure of the saved data (attached image). The error (assert miniscope_folder_paths error below line 26) mentioned was solved by adding the code below to the init (see second image). But then I discovered this issue was present in other files and so wanted to create an issue.

dir_contents = sorted(os.listdir(folder_path)); miniscope_name = [i for i in dir_contents if 'miniscope' in i.lower()][0]; miniscope_folder_paths = list(Path(folder_path).rglob(miniscope_name))

Screenshot 2023-11-16 at 1 56 49 PM Screenshot 2023-11-16 at 2 09 13 PM

Of course I could always change the structure of my paths, but wanted to mention this!

Thanks as always,
-John

@CodyCBakerPhD
Copy link
Member

Thanks John!

cc @alessandratrapani: just wanted to make sure you knew about this going into any future Miniscope work; we can discuss strategy on how best to enforce/allow folder structures across different source versions

@h-mayorquin
Copy link

Hi, @JohnStout . In the screenshoot that you shared, where are the video files? In the miniscopeDeviceName folder?

@JohnStout
Copy link
Author

@h-mayorquin that would be correct here. I am not currently working with these kinds of data, but I do believe that was the case.

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

3 participants