Question: why is grid_spacing
not a field in ImagingPlane
?
#1885
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of NWB users
Milestone
I would like to understand the logic of why some attributes of the class are fields and others are not. For the
ImagingPlane
we are missinggrid_spacing
andorigin_coords
pynwb/src/pynwb/ophys.py
Lines 33 to 46 in 2259bed
This is related to the html representation of the object. We use the fields to generate the html representation (that is very handy for exploring) and therefore some attributes are not displayed because they are not fields which I think is a big miss.
https://github.com/hdmf-dev/hdmf/blob/d85d0cbc36d2e0fdb25e8fbea14d58ba7bf24a40/src/hdmf/container.py#L685-L693
The text was updated successfully, but these errors were encountered: