[g for g in mod.getGeneIds() if 'b4395' in g] # ['G_b4395', 'b4395']
[g for g in mod.getGeneLabels() if 'b4395' in g] # ['b4395', 'b4395']
Export and import of the model works fine, however, if one uses the online validator it will return the error:
Error Line 10826 Column 47: (SBML Validation Rule #fbc-21205) The attribute 'fbc:label' on a must be unique among the set of all elements defined in the . Reference: L3V1 Fbc V2 Section 3.5 A GeneProduct with the label 'b4395' has already been declared.
When I do
I receive - as expected - a warning that the gene label already exists and it is therefore not set.
However, when I then do:
two genes will exist with identical label:
Export and import of the model works fine, however, if one uses the online validator it will return the error:
Could this be fixed?!