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

Perich Dataset Preprocessing #4

Open
dddavid4real opened this issue Jun 1, 2024 · 0 comments
Open

Perich Dataset Preprocessing #4

dddavid4real opened this issue Jun 1, 2024 · 0 comments

Comments

@dddavid4real
Copy link

Hi, thank you for this great work.

I try to use your script provided in the directory "data" for perich dataset preprocessing. I downloaded the data from the url you provided on DANDI. After that, I run the script prepare_data.py for preprocessing and it went smoothly for sub-C, sub-J, and sub-M. However, when I process the sub-T folder, this error popped out:

Traceback (most recent call last): File "/home/gzr/code/neuroscience/poyo/data/scripts/perich_miller_population_2018/prepare_data.py", line 234, in <module> main() File "/home/gzr/code/neuroscience/poyo/data/scripts/perich_miller_population_2018/prepare_data.py", line 161, in main subject = extract_subject_from_nwb(nwbfile) File "/home/gzr/code/neuroscience/poyo/poyo/data/dandi_utils.py", line 31, in extract_subject_from_nwb species=Species.from_string(nwbfile.subject.species), File "/home/gzr/code/neuroscience/poyo/poyo/taxonomy/core.py", line 51, in from_string parent = cls.from_string(nested_string[0]) File "/home/gzr/code/neuroscience/poyo/poyo/taxonomy/core.py", line 63, in from_string raise ValueError( ValueError: HTTP://PURL does not exist in Species, consider adding it to the enum.

How could I mitigate this error? Thanks.

@dddavid4real dddavid4real changed the title Perich Data Preprocessing Perich Dataset Preprocessing Jun 1, 2024
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

1 participant