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

Add support for adding OnePhotonSeries/TwoPhotonSeries to processing module #587

Merged
merged 21 commits into from
Oct 23, 2023

Conversation

weiglszonja
Copy link
Contributor

@weiglszonja weiglszonja commented Oct 5, 2023

Resolve #581
Add parent_container argument to add_photon_series that defines where to add the photon series (nwbfile.acquisition or nwbfile.processing["ophys"]).

@weiglszonja weiglszonja marked this pull request as draft October 5, 2023 10:54
@weiglszonja weiglszonja marked this pull request as ready for review October 16, 2023 09:44
Comment on lines +345 to +347
parent_container: {'acquisition', 'processing/ophys'}, optional
The container where the photon series is added, default is nwbfile.acquisition.
When 'processing/ophys' is chosen, the photon series is added to nwbfile.processing['ophys'].
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@h-mayorquin is this clear enough?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry for not answering this before, @weiglszonja. For what is worth even if the issue is merged, this looks great to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank you! sorry for not pinging before the merge..

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not at all, I am glad you guys worked out. I am happy that I could helped you review the other PR and thankful for Cody time on reviewing this one. Seems like a good distribution of work!

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #587 (fb86ee9) into main (567213d) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #587      +/-   ##
==========================================
+ Coverage   90.78%   90.80%   +0.01%     
==========================================
  Files         103      103              
  Lines        5374     5382       +8     
==========================================
+ Hits         4879     4887       +8     
  Misses        495      495              
Flag Coverage Δ
unittests 90.80% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...ainterfaces/ophys/baseimagingextractorinterface.py 98.11% <ø> (ø)
src/neuroconv/tools/roiextractors/roiextractors.py 89.39% <100.00%> (+0.24%) ⬆️

@CodyCBakerPhD
Copy link
Member

LGTM

@weiglszonja
Copy link
Contributor Author

Thank you @CodyCBakerPhD, I'll merge this.

@weiglszonja weiglszonja merged commit a239c27 into main Oct 23, 2023
30 of 34 checks passed
@weiglszonja weiglszonja deleted the add_photon_series_to_module branch October 23, 2023 13:49
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.

[Feature]: Add OnePhotonSeries/TwoPhotonSeries to processing
3 participants