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
I am using SBML validation a lot. Often it is difficult to figure out what object creates the error in larger models. It would be very helpful to provide the sid and perhaps also the name name attribute for the object in the error message if these attributes are set.
I.e. currently the error message is for instance
ERROR E0: SBML component consistency (core, L225, code) validation.py:189
[Error] Invalid value for the 'units' attribute of a three-dimensional compartment
The value of the 'units' attribute on a <compartment> having 'spatialDimensions' of '3' is restricted.
Reference: L3V2 Section 4.5.4
The value of the 'units' attribute on a <compartment> having 'spatialDimensions' of '3' must be either 'volume', 'litre', or the identifier of a <unitDefinition> based on either 'litre', 'metre'
(with 'exponent' equal to '3'), or 'dimensionless'.
but would be much better as
ERROR E0: SBML component consistency (core, L225, code) validation.py:189
[Error] Invalid value for the 'units' attribute of a three-dimensional compartment with 'sid' of 'Vapical'
The value of the 'units' attribute on a <compartment> having 'spatialDimensions' of '3' is restricted.
Reference: L3V2 Section 4.5.4
The value of the 'units' attribute on a <compartment> having 'spatialDimensions' of '3' must be either 'volume', 'litre', or the identifier of a <unitDefinition> based on either 'litre', 'metre'
(with 'exponent' equal to '3'), or 'dimensionless'.
I.e. add the sid which directly allows to find the right object, here the right compartment.
The text was updated successfully, but these errors were encountered:
In general, we do indeed try to include the SIds and other identifying information in the error messages. We can fix these messages in particular, but as you find other errors without the SIds, let us know so we can find those and fix them, too.
I am using SBML validation a lot. Often it is difficult to figure out what object creates the error in larger models. It would be very helpful to provide the
sid
and perhaps also the namename
attribute for the object in the error message if these attributes are set.I.e. currently the error message is for instance
but would be much better as
I.e. add the sid which directly allows to find the right object, here the right compartment.
The text was updated successfully, but these errors were encountered: