python-bioformats
python-bioformats copied to clipboard
Remove default values on image elements
Why do you set default values for attributes such as Name
or SizeX
on Image
, Pixels
and Channel
elements upon creation of a new node (see here)?
These defaults are highly problematic, since they cause unexpected behavior when not explicitly overridden and require workarounds on the application side. Setting the values of these attributes to None
would be safer.