Replies: 10 comments
-
Hi there, Are you able to share the file causing the problem? And also the NeuroConv code that was used to create it? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately my file is too large (30 MB). Should we take this offline? I have enclosed my code below:
|
Beta Was this translation helpful? Give feedback.
-
I've created a Google Drive that you can upload the file to here: https://drive.google.com/drive/folders/1l-0nrIeprUYyCffV1LGnFObcL3mwLqdV?usp=sharing Being able to see the contents of the file and run the NWB Inspector myself will help speed up debugging by a lot |
Beta Was this translation helpful? Give feedback.
-
uploaded. Please let me know what I'm doing wrong at your earliest convenience. Greatly appreciate it. |
Beta Was this translation helpful? Give feedback.
-
Oh, thanks for including the source data too! That will help if it's a NeuroConv problem Will investigate and get back to you soon~ |
Beta Was this translation helpful? Give feedback.
-
OK I think I've fixed the issue - that metadata was not getting propagated down to the electrode creator; there was also a mismatch in the metadata schema definition Can you try running it from the following dev branch?
(you may need to install git, You will also need to update your script to from neuroconv.datainterfaces import AbfInterface
interface = AbfInterface(
file_paths=["afterKA15min_0000.abf"],
)
metadata = interface.get_metadata()
metadata['Icephys']['Electrodes'][0].update(cell_id = "ID001")
metadata['Icephys']['Electrodes'][1].update(cell_id = "ID002")
interface.run_conversion(nwbfile_path="reproduced_output.nwb", metadata=metadata, overwrite=True) |
Beta Was this translation helpful? Give feedback.
-
Issue is fixed using that branch! Thank you so much. Would this branch be merged with main anytime soon? I have colleagues who need to publish soon. |
Beta Was this translation helpful? Give feedback.
-
Depends on the timescale implied by 'soon' - if @luiztauffer (original creator of that interface and tools) or someone else on the team can give a review of catalystneuro/neuroconv#538 within the next couple of days then yes I can merge and cut a new bug fix release very quickly |
Beta Was this translation helpful? Give feedback.
-
@rly or @oruebel can one of you transfer this to the official NWB helpdesk and also convert to a discussion? I don't have permissions Thanks Also @Cryon1x if you ever find any more problems with NeuroConv specifically, feel free to raise an issue directly over there: https://github.com/catalystneuro/neuroconv/issues Or for more general questions about any part of the NWB ecosystem, check out https://github.com/NeurodataWithoutBorders/helpdesk/discussions |
Beta Was this translation helpful? Give feedback.
-
@Cryon1x The NeuroConv patch was approved and released over the weekend 👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am converting abf files to nwb using neuroconv. When I test the new nwb files, though I have manually added the "cell_id" field to each electrode, it still throws an error of Message: Please include a unique cell_id associated with this IntracellularElectrode.
Here is my metadata:
Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions