CellProfiler / python-bioformats

Read and write life sciences file formats
Other
132 stars 46 forks source link

Remove default values on image elements #81

Open hackermd opened 7 years ago

hackermd commented 7 years ago

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.