-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ephys #2
Ephys #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything here looks good to me.
As a comment that might be useful:
Lately I have started working using a converter pipe instead of the NWBConverter object. I think that some of the things that you do here like manipulating the properties of the recording object are easier to write and understand with that workflow. Plus, if something is wrong you know earlier. Example:
src/schneider_lab_to_nwb/schneider_2024/schneider_2024_convert_session.py
Outdated
Show resolved
Hide resolved
src/schneider_lab_to_nwb/schneider_2024/schneider_2024_convert_session.py
Outdated
Show resolved
Hide resolved
src/schneider_lab_to_nwb/schneider_2024/schneider_2024_metadata.yaml
Outdated
Show resolved
Hide resolved
src/schneider_lab_to_nwb/schneider_2024/schneider_2024_metadata.yaml
Outdated
Show resolved
Hide resolved
src/schneider_lab_to_nwb/schneider_2024/schneider_2024_metadata.yaml
Outdated
Show resolved
Hide resolved
Interesting, I didn't even know this kind of alternative workflow was possible. Before, if I was making too many changes to an interface I would usually just define a child Interface, but using a ConverterPipe could be a good alternative for some cases. I think in this case, I'll just stick with the NWBConverter, at least for now, but thank you for the heads up. As a side note, if we want to normalize using ConverterPipes instead of NWBConverters (in some cases ofc), we should really have some documentation on them. I couldn't find anything about them on the docs |
I think this is wise, probably too much friction to change in the middle of an ongoing project. |
This PR adds an OpenEphysRecordingInterface and PhySortingInterface tested on a single example session.