simul.copasi.model_checking
¶
Module Contents¶
-
simul.copasi.model_checking.
copasi_model_checking
(model_filename, fileout, task_name="")[source]¶ Perform a basic model checking for a COPASI model file.
Parameters: - model_filename – the filename to a COPASI file
- fileout – the file containing the model checking results
- task_name – the task to check
Returns: a boolean indicating whether the model could be loaded successfully
-
simul.copasi.model_checking.
severity2string
(severity)[source]¶ Return a string representing the severity of the error message :param severity: an integer representing severity :return: a string of the error message
-
simul.copasi.model_checking.
check_model_loading
(model_filename, data_model)[source]¶ Check whether the COPASI model can be loaded
Parameters: - model_filename – the filename to a COPASI file
- data_model – the COPASI data model structure
Returns: a boolean indicating whether the model could be loaded successfully
-
simul.copasi.model_checking.
check_task_selection
(model_filename, task_name, data_model)[source]¶ Check whether the COPASI model task can be executed
Parameters: - model_filename – the filename to a COPASI file
- task_name – the task to check
- data_model – the COPASI data model structure.
Returns: a boolean indicating whether the model task can be executed correctly
-
simul.copasi.model_checking.
check_task_report
(model_filename, task_name, data_model, task)[source]¶ Check whether the COPASI model task can be executed
Parameters: - model_filename – the filename to a COPASI file
- task_name – the task to check
- data_model – the COPASI data model structure
- task – the COPASI task data structure
Returns: a boolean indicating whether the model task can be executed correctly