SynBioDex / pySBOL3

Native python implementation of SBOL 3.0 specification
MIT License
37 stars 16 forks source link

Fix initial value checking on all properties #209

Closed tcmitchell closed 3 years ago

tcmitchell commented 3 years ago

When testing whether an initial value is specified, use if initial_value is not None instead of relying on boolean conversion using if initial_value. 0, 0.0 and '' all convert to False so these initial values were being ignored.

Fixes #208