Skip to content
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

Modify write nwb methods to instantiate objects using from_lims #2624

Merged
merged 4 commits into from
Dec 19, 2022

Conversation

mikejhuang
Copy link
Contributor

@mikejhuang mikejhuang commented Dec 7, 2022

  • Modified write_nwb methods to instantiate objects using from_lims instead of from_json
  • Removed json validation in NWB writers.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@mikejhuang mikejhuang changed the base branch from master to rc/2.16.1 December 7, 2022 11:26
Copy link
Contributor

@morriscb morriscb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be overkill but do we want to add checks to make sure that the written NWB, when loaded, matches the from_lims session. Then again, I sort of crooked my head looking at the code that both created the json and then did the from_lims pull to make sure they were the same, which, why were we doing from_json in the first place :D

@mikejhuang
Copy link
Contributor Author

mikejhuang commented Dec 8, 2022

I added the check. I vaguely remember asking about this in the standup but it was easy to add back in anyways.

Copy link
Contributor

@morriscb morriscb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Make sure to change the base from rc/2.16.1 to rc/2.14.1

@mikejhuang mikejhuang changed the base branch from rc/2.16.1 to rc/2.14.1 December 14, 2022 20:04
@mikejhuang mikejhuang merged commit 062bc2a into rc/2.14.1 Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants