You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It interprets the species ids normalized_cancer_cell_a, normalized_cancer_cell_n and normalized_cancer_cell_g as BiGG IDs and tries to create compartments a, n and g.
This behaviour was preexisting. However, this is actually unwanted here, as the IDs do not in fact represent BiGG IDs.
Since a global parameter with id a exists on the model, the method changes its id to a_non_compartment, but references to the parameter in variable attributes on assignmentRules are not updated. This behaviour is reckless and a regression that I introduced in the 2.1 branch.
we cannot change the IDs of non-compartment objects if a new compartment is created from a BiGG ID, but need to adapt the name of the new compartment instead
The text was updated successfully, but these errors were encountered:
This occurs on model https://www.ebi.ac.uk/biomodels/BIOMD0000000807
The error is very serious since it changes the mathematical interpretation of the model.
This method
ModelPolisher/lib/src/main/java/de/uni_halle/informatik/biodata/mp/polishing/SpeciesPolisher.java
Lines 84 to 103 in 113b467
has two errors:
normalized_cancer_cell_a
,normalized_cancer_cell_n
andnormalized_cancer_cell_g
as BiGG IDs and tries to create compartmentsa
,n
andg
.This behaviour was preexisting. However, this is actually unwanted here, as the IDs do not in fact represent BiGG IDs.
i.e.
becomes
a
exists on the model, the method changes its id toa_non_compartment
, but references to the parameter invariable
attributes onassignmentRule
s are not updated. This behaviour is reckless and a regression that I introduced in the 2.1 branch.i.e.
becomes
So two fixes are required here:
The text was updated successfully, but these errors were encountered: