neuro-galaxy / poyo

Official Implementation of POYO-1 https://poyo-brain.github.io/
Apache License 2.0
40 stars 3 forks source link

Perich Dataset Preprocessing #4

Open dddavid4real opened 2 months ago

dddavid4real commented 2 months ago

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.