diff --git a/.github/workflows/non-omv.yml b/.github/workflows/non-omv.yml index fe29c47..10b8e52 100644 --- a/.github/workflows/non-omv.yml +++ b/.github/workflows/non-omv.yml @@ -43,6 +43,11 @@ jobs: pip install python-libsedml python test_tellurium.py + - name: Test validity of files + run: | + pip install pyNeuroML + cd SBML + ./validateAll.sh - name: Final version info run: | diff --git a/SBML/validateAll.sh b/SBML/validateAll.sh new file mode 100755 index 0000000..97d1ff8 --- /dev/null +++ b/SBML/validateAll.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -ex + +### A script to validate SBML (& SED-ML) files using pyNeuroML + +pynml -validate-sbml LEMS_NML2_Ex9_FN.sbml + +pynml -validate-sbml Run_Regular_HindmarshRose.sbml