On Thu, Jun 21, 2007 at 01:13:50PM +1200, Andrew Miller wrote:
> James Lawson wrote:
> > Hi David,
> >   
> ...
> > Because of the way this model is built, getting the units to match would
> > require drastically remaking it, and I don't think I'd know how to do
> > it. I have some ideas, but only because this is a particularly simple
> > model, with 3 differential equations and two algebraic expressions. In a
> > larger model I would have absolutely no idea where to start.
> >
> > So what is the solution to this? Only code up models in CellML that are
> > perfect? Because technically, this model isn't valid CellML
> >   
> Nothing in the CellML specification says that valid CellML models cannot 
> have mathematically-inconsistent units in the equations, so it is still 
> valid CellML.

I could've sworn that wasn't the case, but I've checked, and you're
right.  Ho hum.

I've added an option to my validator to demote units errors to warnings,
so that if the only problems are with units models can still be reported
as valid.  It is disabled by default, however, because I consider that
authors should not be producing models with inconsistent units.

Jonathan.

-- 
Jonathan Cooper      MSN: [EMAIL PROTECTED]      www: jonc.me.uk/

Spotted at the railway station:
  Passengers are asked not to cross the lines - it takes ages for us to
  uncross them again.
_______________________________________________
cellml-discussion mailing list
[email protected]
http://www.cellml.org/mailman/listinfo/cellml-discussion

Reply via email to