We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48092c2 commit 3463600Copy full SHA for 3463600
pyneuroml/archive/__init__.py
@@ -17,6 +17,7 @@
17
from pyneuroml.utils import get_model_file_list
18
from pyneuroml.utils.cli import build_namespace
19
from pyneuroml.runners import run_jneuroml
20
+from pyneuroml.sedml import validate_sedml_files
21
22
logger = logging.getLogger(__name__)
23
logger.setLevel(logging.INFO)
@@ -100,6 +101,9 @@ def cli(a: typing.Optional[typing.Any] = None, **kwargs: str):
100
101
rootfile = a.rootfile.replace(".xml", ".sedml")
102
zipfile_extension = ".omex"
103
104
+ # validate the generated file
105
+ validate_sedml_files([rootfile])
106
+
107
# if explicitly given, use that
108
if a.zipfile_extension is not None:
109
zipfile_extension = a.zipfile_extension
0 commit comments