From: <luc...@us...> - 2019-11-20 00:03:35
|
Revision: 26156 http://sourceforge.net/p/sbml/code/26156 Author: luciansmith Date: 2019-11-20 00:03:33 +0000 (Wed, 20 Nov 2019) Log Message: ----------- Add definition of spatial validation warning 20651. Again, no implementation at this point. Modified Paths: -------------- branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLError.h branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLErrorTable.h Modified: branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLError.h =================================================================== --- branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLError.h 2019-11-19 23:28:47 UTC (rev 26155) +++ branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLError.h 2019-11-20 00:03:33 UTC (rev 26156) @@ -78,6 +78,7 @@ , SpatialReactionAllowedAttributes = 1220601 , SpatialReactionIsLocalMustBeBoolean = 1220602 , SpatialLocalReactionMustDefineCompartment = 1220650 +, SpatialLocalReactionUnits = 1220651 , SpatialDomainTypeAllowedCoreAttributes = 1220701 , SpatialDomainTypeAllowedCoreElements = 1220702 , SpatialDomainTypeAllowedAttributes = 1220703 Modified: branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLErrorTable.h =================================================================== --- branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLErrorTable.h 2019-11-19 23:28:47 UTC (rev 26155) +++ branches/libsbml-experimental/src/sbml/packages/spatial/validator/SpatialSBMLErrorTable.h 2019-11-20 00:03:33 UTC (rev 26156) @@ -244,6 +244,16 @@ } }, + // 1220651 + { SpatialLocalReactionUnits, + "Local spatial reactions should have units of concentration/time.", + LIBSBML_CAT_UNITS_CONSISTENCY, + LIBSBML_SEV_WARNING, + "The units of a <kineticLaw> of a <reaction> with a 'spatial:isLocal' attribute value of 'true' should be concentration/time instead of substance/time.", + { "L3V1 Spatial V1 Section" + } + }, + // 1220701 { SpatialDomainTypeAllowedCoreAttributes, "Core attributes allowed on <domainType>.", |