sbmlteam / jsbml

JSBML is a community-driven project to create a free, open-source, pure Java™ library for reading, writing, and manipulating SBML files (the Systems Biology Markup Language) and data streams. It is an alternative to the mixed Java/native code-based interface provided in libSBML.
https://sbml.org/software/jsbml/
GNU Lesser General Public License v2.1
37 stars 24 forks source link

Cloning of GeneProduct may create invalid SBML because of missing required attribute `label` #252

Open draeger opened 2 years ago

draeger commented 2 years ago

The clone constructor in GeneProduct only calls its superconstructor. In addition, it should also copy all of its attributes, label in particular (which is a required attribute). As of now, cloning gene products results in invalid SBML.