-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Bug]: general_extracellular_ephys_electrodes isn't been exported into the nwb file #566
Comments
Try to add it without doing the toTable(). Does that work? |
@ehennestad It doesn't. I added it to be able to visualize the data |
@lawrence-mbf could you look into this? |
Hi @amadaabrego are there any errors when you export the file? I don't have the "labels" variable in your script so I attempted to recreate using an empty DynamicTable which, after setting the Can you also use HDFView to search if the |
Hey everyone, Thanks! |
Very odd, were there any errors the first time exporting? MatNWB will attempt to amend a file if the filename is the same so there may be a bug there. |
Yes! I had a lot of errors the first time I tried to export it. I was inputting strings and not chars. It took me a while to realize that nwb only accepts text if they are char. I assumed that it would overwrite the file instead of trying to amend it. Good to know nowThank you so much for everything! On Apr 1, 2024, at 3:49 PM, Lawrence ***@***.***> wrote:
Very odd, were there any errors the first time exporting? MatNWB will attempt to amend a file if the filename is the same so there may be a bug there.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Gotcha, I guess there are two things that may have problems here:
When MatNWB was first written, |
What happened?
Hello!
I'm working into exporting an intan file to a nwb format - I am customizing the labels, and therefore not using Intan's written code.
I followed the instructions in the tutorial to create a ElectrodesDynamicTable, that will be the general_extracellular_ephys_electrodes. This is how the nwb file organization looks like BEFORE exporting.
![image](https://private-user-images.githubusercontent.com/89035093/316047914-394dccbc-dd61-427f-962e-5367cef6ce04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NzQ2NjksIm5iZiI6MTcyNTk3NDM2OSwicGF0aCI6Ii84OTAzNTA5My8zMTYwNDc5MTQtMzk0ZGNjYmMtZGQ2MS00MjdmLTk2MmUtNTM2N2NlZjZjZTA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEzMTkyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzZmZkODk2MzEwZmI2NmFlNWIwYzU4YzA1NDM5NTYxODY1MGVjNmFiOWQ1OWI0MGJjZDQ4YTgyYzU3YTc4MmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.G16F5nU8-4QP7KenjapkGeEqSbeB22aJTl6NijDzhiU)
However, once I export it, and read it again general_extracellular_ephys_electrodes is empty
![image](https://private-user-images.githubusercontent.com/89035093/316048621-d3ee041e-6e0e-4711-8b1e-4c8d568a2aa8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NzQ2NjksIm5iZiI6MTcyNTk3NDM2OSwicGF0aCI6Ii84OTAzNTA5My8zMTYwNDg2MjEtZDNlZTA0MWUtNmUwZS00NzExLThiMWUtNGM4ZDU2OGEyYWE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEzMTkyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiOTU3ZmIxZmI1NDcwZGM3ZjNiYmQ4OTEwNjAwNWZmMWZiZDZiYWEwODhjYmJkMjgzNzc3MWRhN2U5NGM5MDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5d1wDIwoGozswCgGc1m-L4REB5Dt6e1zKFnDedMUO80)
I have double, triple checked that the formats in the ElectrodesDynamicTable fits whatever is in the tutorial, but still doesn't work. This is how the ElectrodesDynamicTable looks like
![image](https://private-user-images.githubusercontent.com/89035093/316050011-16ac0bc9-c275-4625-9a3e-73b0c61bbf5e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NzQ2NjksIm5iZiI6MTcyNTk3NDM2OSwicGF0aCI6Ii84OTAzNTA5My8zMTYwNTAwMTEtMTZhYzBiYzktYzI3NS00NjI1LTlhM2UtNzNiMGM2MWJiZjVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEzMTkyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU5NDAyNGU3OWEzYTZjY2FkMGExZWI3NjQ1Y2VkYTdkZGUwOWE0YmM4MWFhNmI4MmE3YjdmOTk2YWI5NDk1MzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.T8eVLLTK2MEavyRpmYqK3BqPLHywSrEoNamvNK3FRYo)
Steps to Reproduce
Error Message
No response
Operating System
macOS
Matlab Version
Matlab_2023b
Code of Conduct
The text was updated successfully, but these errors were encountered: