Previously, the ID of a model entry could not be modified (by design) even on mutable entries such as DictCompoundEntry, DictReactionEntry. However, this made it difficult to translate model IDs when this was desired (for example, for removing ID prefixes in SBML models). An ID override parameter is added to the constructor so that a new entry can be created from an existing entry but with a different ID.
Additionally some setters are added to the mutable entries to make modifications easier. Documentation of the mutability and rules for ID are expanded.
Previously, the ID of a model entry could not be modified (by design) even on mutable entries such as
DictCompoundEntry
,DictReactionEntry
. However, this made it difficult to translate model IDs when this was desired (for example, for removing ID prefixes in SBML models). An ID override parameter is added to the constructor so that a new entry can be created from an existing entry but with a different ID.Additionally some setters are added to the mutable entries to make modifications easier. Documentation of the mutability and rules for ID are expanded.