OpenCMISS / iron

Source code repository for OpenCMISS-Iron
9 stars 62 forks source link

Monodomain example cellml file #101

Open ssat335 opened 7 years ago

ssat335 commented 7 years ago

I was trying to validate the n98.xml file at ~/examples/Bioelectrics/Monodomain/PythonChasteModel/n98.xml using https://chaste.cs.ox.ac.uk/cellml/ web-based cellml validator

The validator showed the following errors:

_

_

I also tried to remove the comments from the equations and then rerun the validator and it showed the following unit mismatch errors:

_

nickerso commented 7 years ago

I'd suggest using OpenCOR to validate CellML models as the pyCML that Chaste uses is not (yet) going to handle CellML 1.1 models and some of the extra features that are generally found in models on PMR (such as id attributes on math in this case, which is actually valid).

Units checking is currently not easy and not always accurate. OpenCOR will do some checking, but results always need to be treated sceptically :)