You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
dddavid4real
changed the title
Perich Data Preprocessing
Perich Dataset Preprocessing
Jun 1, 2024
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.
The text was updated successfully, but these errors were encountered: