-
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
Add example for creating pixel mask to ophys tutorial (inspired by #572) #577
Conversation
@bendichter |
Yeah, the message implies that pynwb is using 2.7.0 by default. |
tutorials/html/ophys.html
Outdated
plane_segmentation = types.core.PlaneSegmentation( ... | ||
'colnames', {'pixel_mask'}, ... | ||
'description', 'roi pixel position (x,y) and pixel weight', ... | ||
'id', types.hdmf_common.ElementIdentifiers('data', int64(0:n_rois-1)'), ... |
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.
'id', types.hdmf_common.ElementIdentifiers('data', int64(0:n_rois-1)'), ... |
this line is no longer needed. If 'id'
is omitted, it will be added automatically.
@ehennestad this looks great! Just one minor edit, then it's good to go |
Motivation
It was unclear how to create pixel_mask for PlaneSegmentation objects. This was raised in issue #572
How to test the behavior?
Checklist
fix #XX
whereXX
is the issue number?