-
Notifications
You must be signed in to change notification settings - Fork 3
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
Missing data type when creating nwb #93
Comments
My guess is this may just be an odd case where there's exactly one error of a type so it can't iterate through. in |
If you could also supply what animal/session this was (what's in the data path) that would be helpful |
Had to rerun the cell so i'll let you know once i can look at %debug. data_path is "/cumulus/rio/BS28_raw_old/20231107/".
but we should be able to make nwbs without trodes position info |
|
The conversion log is in /cumulus/rio/BS28_raw_old/ |
Ah it seems like it doesn't like Position being created without a SpatialSeries object. That should be something in trodes_to_nwb to be fixed. @samuelbray32 are you already on this? |
I think the actual breaking error was just the fact that based on the way the validator returns things |
@rpswenson I was able to run the inspector for this file. Could you check your version of import nwbinspector
nwbinspector.__version__ |
Mine is 0.4.34 |
Hm, I'm still unable to recreate the error. Has this happened on other files you've converted? |
No, these are the first files I've tried to convert |
@rpswenson Was this still an issue? |
@samuelbray32 actually now I am getting this error too. I talked to Rio, and they still get it too. This is happening for all days/NWBs for my two rats SC59 and SC65 |
Could you share the paths to the files on /stelmo or somewhere else where we can take a look? The first level error seems like it might be an issue with pynwb or nwbinspector as @samuelbray32 mentioned above re: |
@rly sure! For rat SC65, I am using the script |
@emreybroyles Are the nwb's still successfully generated when you hit this error? e.g. if you go look for them in /stelmo/nwb/raw (or wherever you're saving them) do they exist and are ~ the right size? |
@samuelbray32 yes the NWBs generate and are of the correct size. This issue isn't too large or debilitating, but mainly just annoying because I'd like to batch-create NWBs for an animal in a loop, and the loop breaks after each NWB creation, so I end up having to create each one individually anyways |
Going through this code:
gets this error:
I would guess that there's something missing or incorrect in the metadata yaml file, but I'm not sure where to look for that in the metadata.
The text was updated successfully, but these errors were encountered: