biosimulators_utils.model_lang.neuroml package#
Submodules#
biosimulators_utils.model_lang.neuroml.validation module#
Utilities for validating NeuroML models
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2021-05-10
- Copyright:
2021, Center for Reproducible Biomedical Modeling
- License:
MIT
- biosimulators_utils.model_lang.neuroml.validation.validate_model(filename, name=None, config=None)[source]#
Check that a model is valid
- Parameters:
filename (
str
) – path to modelname (
str
, optional) – name of model for use in error messagesconfig (
Config
, optional) – whether to fail on missing includes
- Returns:
nested
list
ofstr
: nested list of errors (e.g., required ids missing or ids not unique)nested
list
ofstr
: nested list of errors (e.g., required ids missing or ids not unique)neuroml.nml.nml.NeuroMLDocument
: model
- Return type:
tuple