biosimulators_utils package#
Subpackages#
- biosimulators_utils.archive package
- biosimulators_utils.biosimulations package
- biosimulators_utils.combine package
- Submodules
- biosimulators_utils.combine.data_model module
CombineArchiveCombineArchiveBaseCombineArchiveContentCombineArchiveContentFormatCombineArchiveContentFormat.ACTIONSCRIPTCombineArchiveContentFormat.ADOBE_FLASHCombineArchiveContentFormat.AICombineArchiveContentFormat.BMPCombineArchiveContentFormat.BNGLCombineArchiveContentFormat.BOURNE_SHELLCombineArchiveContentFormat.BioPAXCombineArchiveContentFormat.CCombineArchiveContentFormat.CPP_HEADERCombineArchiveContentFormat.CPP_SOURCECombineArchiveContentFormat.CSSCombineArchiveContentFormat.CSVCombineArchiveContentFormat.CellMLCombineArchiveContentFormat.CopasiMLCombineArchiveContentFormat.DLLCombineArchiveContentFormat.DOCCombineArchiveContentFormat.DOCXCombineArchiveContentFormat.EPSCombineArchiveContentFormat.EscherCombineArchiveContentFormat.GENESISCombineArchiveContentFormat.GIFCombineArchiveContentFormat.GINMLCombineArchiveContentFormat.GMSH_MESHCombineArchiveContentFormat.GRAPHMLCombineArchiveContentFormat.HDF5CombineArchiveContentFormat.HOCCombineArchiveContentFormat.HTMLCombineArchiveContentFormat.ICOCombineArchiveContentFormat.INICombineArchiveContentFormat.IPython_NotebookCombineArchiveContentFormat.JAVASCRIPTCombineArchiveContentFormat.JAVA_ARCHIVECombineArchiveContentFormat.JAVA_CLASSCombineArchiveContentFormat.JAVA_SOURCECombineArchiveContentFormat.JPEGCombineArchiveContentFormat.JSONCombineArchiveContentFormat.KappaCombineArchiveContentFormat.LEMSCombineArchiveContentFormat.MAPLE_WORKSHEETCombineArchiveContentFormat.MARKDOWNCombineArchiveContentFormat.MASSCombineArchiveContentFormat.MATHEMATICA_NOTEBOOKCombineArchiveContentFormat.MATLABCombineArchiveContentFormat.MATLAB_DATACombineArchiveContentFormat.MATLAB_FIGURECombineArchiveContentFormat.MorpheusMLCombineArchiveContentFormat.NCSCombineArchiveContentFormat.NEURON_SESSIONCombineArchiveContentFormat.NMODLCombineArchiveContentFormat.NeuroMLCombineArchiveContentFormat.NuMLCombineArchiveContentFormat.ODECombineArchiveContentFormat.ODTCombineArchiveContentFormat.OMEXCombineArchiveContentFormat.OMEX_MANIFESTCombineArchiveContentFormat.OMEX_METADATACombineArchiveContentFormat.OTHERCombineArchiveContentFormat.OWLCombineArchiveContentFormat.PDFCombineArchiveContentFormat.PERLCombineArchiveContentFormat.PHPCombineArchiveContentFormat.PNGCombineArchiveContentFormat.POSTSCRIPTCombineArchiveContentFormat.PPTCombineArchiveContentFormat.PPTXCombineArchiveContentFormat.PSDCombineArchiveContentFormat.PythonCombineArchiveContentFormat.QUICKTIMECombineArchiveContentFormat.RCombineArchiveContentFormat.RBACombineArchiveContentFormat.RDF_XMLCombineArchiveContentFormat.RSTCombineArchiveContentFormat.RUBYCombineArchiveContentFormat.R_ProjectCombineArchiveContentFormat.SBGNCombineArchiveContentFormat.SBMLCombineArchiveContentFormat.SBOLCombineArchiveContentFormat.SBOL_VISUALCombineArchiveContentFormat.SED_MLCombineArchiveContentFormat.SHOCKWAVE_FLASHCombineArchiveContentFormat.SLICombineArchiveContentFormat.SOCombineArchiveContentFormat.SQLCombineArchiveContentFormat.SVGCombineArchiveContentFormat.SVGZCombineArchiveContentFormat.ScilabCombineArchiveContentFormat.SimBiology_ProjectCombineArchiveContentFormat.SmoldynCombineArchiveContentFormat.TEXTCombineArchiveContentFormat.TIFFCombineArchiveContentFormat.TSVCombineArchiveContentFormat.VCMLCombineArchiveContentFormat.VegaCombineArchiveContentFormat.Vega_LiteCombineArchiveContentFormat.WEBPCombineArchiveContentFormat.XLSCombineArchiveContentFormat.XLSXCombineArchiveContentFormat.XMLCombineArchiveContentFormat.XPPCombineArchiveContentFormat.XPP_AUTOCombineArchiveContentFormat.XPP_SETCombineArchiveContentFormat.XSLCombineArchiveContentFormat.XULCombineArchiveContentFormat.XYZCombineArchiveContentFormat.YAMLCombineArchiveContentFormat.ZGINMLCombineArchiveContentFormat.ZIPCombineArchiveContentFormat.__format__()CombineArchiveContentFormat.pharmML
CombineArchiveContentFormatPatternCombineArchiveContentFormatPattern.ACTIONSCRIPTCombineArchiveContentFormatPattern.ADOBE_FLASHCombineArchiveContentFormatPattern.AICombineArchiveContentFormatPattern.BMPCombineArchiveContentFormatPattern.BNGLCombineArchiveContentFormatPattern.BOURNE_SHELLCombineArchiveContentFormatPattern.BioPAXCombineArchiveContentFormatPattern.CCombineArchiveContentFormatPattern.CPP_HEADERCombineArchiveContentFormatPattern.CPP_SOURCECombineArchiveContentFormatPattern.CSSCombineArchiveContentFormatPattern.CSVCombineArchiveContentFormatPattern.CellMLCombineArchiveContentFormatPattern.CopasiMLCombineArchiveContentFormatPattern.DLLCombineArchiveContentFormatPattern.DOCCombineArchiveContentFormatPattern.DOCXCombineArchiveContentFormatPattern.EPSCombineArchiveContentFormatPattern.EscherCombineArchiveContentFormatPattern.GENESISCombineArchiveContentFormatPattern.GIFCombineArchiveContentFormatPattern.GINMLCombineArchiveContentFormatPattern.GMSH_MESHCombineArchiveContentFormatPattern.GRAPHMLCombineArchiveContentFormatPattern.HDF5CombineArchiveContentFormatPattern.HOCCombineArchiveContentFormatPattern.HTMLCombineArchiveContentFormatPattern.ICOCombineArchiveContentFormatPattern.INICombineArchiveContentFormatPattern.IPython_NotebookCombineArchiveContentFormatPattern.JAVASCRIPTCombineArchiveContentFormatPattern.JAVA_ARCHIVECombineArchiveContentFormatPattern.JAVA_CLASSCombineArchiveContentFormatPattern.JAVA_SOURCECombineArchiveContentFormatPattern.JPEGCombineArchiveContentFormatPattern.JSONCombineArchiveContentFormatPattern.KappaCombineArchiveContentFormatPattern.LEMSCombineArchiveContentFormatPattern.MAPLE_WORKSHEETCombineArchiveContentFormatPattern.MARKDOWNCombineArchiveContentFormatPattern.MASSCombineArchiveContentFormatPattern.MATHEMATICA_NOTEBOOKCombineArchiveContentFormatPattern.MATLABCombineArchiveContentFormatPattern.MATLAB_DATACombineArchiveContentFormatPattern.MATLAB_FIGURECombineArchiveContentFormatPattern.MorpheusMLCombineArchiveContentFormatPattern.NCSCombineArchiveContentFormatPattern.NEURON_SESSIONCombineArchiveContentFormatPattern.NMODLCombineArchiveContentFormatPattern.NeuroMLCombineArchiveContentFormatPattern.NuMLCombineArchiveContentFormatPattern.ODECombineArchiveContentFormatPattern.ODTCombineArchiveContentFormatPattern.OMEXCombineArchiveContentFormatPattern.OMEX_MANIFESTCombineArchiveContentFormatPattern.OMEX_METADATACombineArchiveContentFormatPattern.OTHERCombineArchiveContentFormatPattern.OWLCombineArchiveContentFormatPattern.PDFCombineArchiveContentFormatPattern.PERLCombineArchiveContentFormatPattern.PHPCombineArchiveContentFormatPattern.PNGCombineArchiveContentFormatPattern.POSTSCRIPTCombineArchiveContentFormatPattern.PPTCombineArchiveContentFormatPattern.PPTXCombineArchiveContentFormatPattern.PSDCombineArchiveContentFormatPattern.PythonCombineArchiveContentFormatPattern.QUICKTIMECombineArchiveContentFormatPattern.RCombineArchiveContentFormatPattern.RBACombineArchiveContentFormatPattern.RDF_XMLCombineArchiveContentFormatPattern.RSTCombineArchiveContentFormatPattern.RUBYCombineArchiveContentFormatPattern.R_ProjectCombineArchiveContentFormatPattern.SBGNCombineArchiveContentFormatPattern.SBMLCombineArchiveContentFormatPattern.SBOLCombineArchiveContentFormatPattern.SBOL_VISUALCombineArchiveContentFormatPattern.SED_MLCombineArchiveContentFormatPattern.SHOCKWAVE_FLASHCombineArchiveContentFormatPattern.SLICombineArchiveContentFormatPattern.SOCombineArchiveContentFormatPattern.SQLCombineArchiveContentFormatPattern.SVGCombineArchiveContentFormatPattern.SVGZCombineArchiveContentFormatPattern.ScilabCombineArchiveContentFormatPattern.SimBiology_ProjectCombineArchiveContentFormatPattern.SmoldynCombineArchiveContentFormatPattern.TEXTCombineArchiveContentFormatPattern.TIFFCombineArchiveContentFormatPattern.TSVCombineArchiveContentFormatPattern.VCMLCombineArchiveContentFormatPattern.VegaCombineArchiveContentFormatPattern.Vega_LiteCombineArchiveContentFormatPattern.WEBPCombineArchiveContentFormatPattern.XLSCombineArchiveContentFormatPattern.XLSXCombineArchiveContentFormatPattern.XMLCombineArchiveContentFormatPattern.XPPCombineArchiveContentFormatPattern.XPP_AUTOCombineArchiveContentFormatPattern.XPP_SETCombineArchiveContentFormatPattern.XSLCombineArchiveContentFormatPattern.XULCombineArchiveContentFormatPattern.XYZCombineArchiveContentFormatPattern.YAMLCombineArchiveContentFormatPattern.ZGINMLCombineArchiveContentFormatPattern.ZIPCombineArchiveContentFormatPattern.__format__()CombineArchiveContentFormatPattern.pharmML
- biosimulators_utils.combine.exceptions module
- biosimulators_utils.combine.exec module
- biosimulators_utils.combine.io module
- biosimulators_utils.combine.utils module
- biosimulators_utils.combine.validation module
- biosimulators_utils.gh_action package
- Submodules
- biosimulators_utils.gh_action.core module
GitHubActionGitHubAction.gh_authGitHubAction.gh_repoGitHubAction.GH_ACTION_RUN_URLGitHubAction.ISSUE_ASIGNEES_ENDPOINTGitHubAction.ISSUE_COMMENTS_ENDPOINTGitHubAction.ISSUE_ENDPOINTGitHubAction.ISSUE_LABELS_ENDPOINTGitHubAction.add_comment_to_issue()GitHubAction.add_error_comment_to_issue()GitHubAction.add_labels_to_issue()GitHubAction.assign_issue()GitHubAction.close_issue()GitHubAction.format_error_comment()GitHubAction.get_data_in_issue()GitHubAction.get_gh_action_run_id()GitHubAction.get_gh_action_run_url()GitHubAction.get_gh_auth()GitHubAction.get_gh_repo()GitHubAction.get_issue()GitHubAction.get_issue_number()GitHubAction.get_labels_for_issue()GitHubAction.remove_label_from_issue()GitHubAction.reset_issue_labels()GitHubAction.run()
GitHubActionErrorHandling
- biosimulators_utils.gh_action.data_model module
- biosimulators_utils.kisao package
- biosimulators_utils.licensing package
- biosimulators_utils.log package
- Submodules
- biosimulators_utils.log.data_model module
- biosimulators_utils.log.utils module
StandardOutputErrorCapturerStandardOutputErrorCapturer.levelStandardOutputErrorCapturer.relayStandardOutputErrorCapturer.disabledStandardOutputErrorCapturer._capturedStandardOutputErrorCapturer._logStandardOutputErrorCapturer._stdoutStandardOutputErrorCapturer._stderrStandardOutputErrorCapturer.__enter__()StandardOutputErrorCapturer.__exit__()StandardOutputErrorCapturer.flush()StandardOutputErrorCapturer.get_text()StandardOutputErrorCapturer.write()
get_summary_combine_archive_log()init_combine_archive_log()init_output_log()init_plot2d_log()init_plot3d_log()init_report_log()init_sed_document_log()init_task_log()
- biosimulators_utils.log.warnings module
- biosimulators_utils.model_lang package
- Subpackages
- biosimulators_utils.model_lang.bngl package
- biosimulators_utils.model_lang.cellml package
- biosimulators_utils.model_lang.lems package
- biosimulators_utils.model_lang.neuroml package
- biosimulators_utils.model_lang.rba package
- biosimulators_utils.model_lang.sbml package
- biosimulators_utils.model_lang.smoldyn package
- biosimulators_utils.model_lang.xpp package
- Subpackages
- biosimulators_utils.omex_meta package
- Submodules
- biosimulators_utils.omex_meta.data_model module
OmexMetadataInputFormatOmexMetadataOutputFormatOmexMetadataOutputFormat.__format__()OmexMetadataOutputFormat.dotOmexMetadataOutputFormat.htmlOmexMetadataOutputFormat.jsonOmexMetadataOutputFormat.json_triplesOmexMetadataOutputFormat.nquadsOmexMetadataOutputFormat.ntriplesOmexMetadataOutputFormat.rdfxmlOmexMetadataOutputFormat.rdfxml_abbrevOmexMetadataOutputFormat.rdfxml_xmpOmexMetadataOutputFormat.turtle
OmexMetadataSchemaTriple
- biosimulators_utils.omex_meta.io module
- biosimulators_utils.omex_meta.utils module
- biosimulators_utils.omex_meta.validation module
- biosimulators_utils.ref package
- Submodules
- biosimulators_utils.ref.data_model module
JournalArticleJournalArticle.pubmed_idJournalArticle.pubmed_central_idJournalArticle.doiJournalArticle.authorsJournalArticle.titleJournalArticle.journalJournalArticle.volumeJournalArticle.issueJournalArticle.pagesJournalArticle.yearJournalArticle.dateJournalArticle.authorsJournalArticle.dateJournalArticle.doiJournalArticle.get_citation()JournalArticle.get_uri()JournalArticle.issueJournalArticle.journalJournalArticle.pagesJournalArticle.pubmed_central_idJournalArticle.pubmed_idJournalArticle.titleJournalArticle.volumeJournalArticle.year
PubMedCentralOpenAccesGraphicReference
- biosimulators_utils.ref.utils module
- biosimulators_utils.report package
- biosimulators_utils.sedml package
- Submodules
- biosimulators_utils.sedml.data_model module
AbstractTaskAddElementModelChangeAlgorithmAlgorithmParameterChangeAxisScaleColorComputeModelChangeCurveDataGeneratorDataSetFillStyleFunctionalRangeLineStyleLineStyleTypeMarkerStyleMarkerStyleTypeMarkerStyleType.__format__()MarkerStyleType.circleMarkerStyleType.diamondMarkerStyleType.hDashMarkerStyleType.noneMarkerStyleType.plusMarkerStyleType.squareMarkerStyleType.starMarkerStyleType.triangleDownMarkerStyleType.triangleLeftMarkerStyleType.triangleRightMarkerStyleType.triangleUpMarkerStyleType.vDashMarkerStyleType.xCross
ModelModelAttributeChangeModelChangeModelLanguageModelLanguage.BNGLModelLanguage.CellMLModelLanguage.CopasiMLModelLanguage.GINMLModelLanguage.HOCModelLanguage.KappaModelLanguage.LEMSModelLanguage.MASSModelLanguage.MorpheusMLModelLanguage.NMODLModelLanguage.NeuroMLModelLanguage.RBAModelLanguage.SBMLModelLanguage.SLIModelLanguage.SmoldynModelLanguage.VCMLModelLanguage.XPPModelLanguage.ZGINMLModelLanguage.__format__()ModelLanguage.pharmML
ModelLanguageEdamIdModelLanguageEdamId.BNGLModelLanguageEdamId.CellMLModelLanguageEdamId.CopasiMLModelLanguageEdamId.GENESISModelLanguageEdamId.GINMLModelLanguageEdamId.HOCModelLanguageEdamId.KappaModelLanguageEdamId.LEMSModelLanguageEdamId.MASSModelLanguageEdamId.MorpheusMLModelLanguageEdamId.NCSModelLanguageEdamId.NMODLModelLanguageEdamId.NeuroMLModelLanguageEdamId.RBAModelLanguageEdamId.SBMLModelLanguageEdamId.SLIModelLanguageEdamId.SmoldynModelLanguageEdamId.VCMLModelLanguageEdamId.XPPModelLanguageEdamId.ZGINMLModelLanguageEdamId.__format__()ModelLanguageEdamId.pharmML
ModelLanguagePatternModelLanguagePattern.BNGLModelLanguagePattern.CellMLModelLanguagePattern.CopasiMLModelLanguagePattern.GENESISModelLanguagePattern.GINMLModelLanguagePattern.HOCModelLanguagePattern.KappaModelLanguagePattern.LEMSModelLanguagePattern.MASSModelLanguagePattern.MorpheusMLModelLanguagePattern.NCSModelLanguagePattern.NMODLModelLanguagePattern.NeuroMLModelLanguagePattern.RBAModelLanguagePattern.SBMLModelLanguagePattern.SLIModelLanguagePattern.SmoldynModelLanguagePattern.VCMLModelLanguagePattern.XPPModelLanguagePattern.ZGINMLModelLanguagePattern.__format__()ModelLanguagePattern.pharmML
OneStepSimulationOutputParameterPlotPlot2DPlot3DRangeRemoveElementModelChangeRepeatedTaskReplaceElementModelChangeReportSedBaseSedDocumentSedIdGroupMixinSetValueComputeModelChangeSetValueComputeModelChange.idSetValueComputeModelChange.nameSetValueComputeModelChange.targetSetValueComputeModelChange.target_namespacesSetValueComputeModelChange.variablesSetValueComputeModelChange.parametersSetValueComputeModelChange.mathSetValueComputeModelChange.modelSetValueComputeModelChange.rangeSetValueComputeModelChange.symbolSetValueComputeModelChange.is_equal()SetValueComputeModelChange.to_tuple()
SimulationSteadyStateSimulationStyleSubTaskSurfaceSymbolTargetGroupMixinTaskUniformRangeUniformTimeCourseSimulationUniformTimeCourseSimulation.idUniformTimeCourseSimulation.nameUniformTimeCourseSimulation.algorithmUniformTimeCourseSimulation.initial_timeUniformTimeCourseSimulation.output_start_timeUniformTimeCourseSimulation.output_end_timeUniformTimeCourseSimulation.number_of_stepsUniformTimeCourseSimulation.is_equal()UniformTimeCourseSimulation.number_of_pointsUniformTimeCourseSimulation.to_tuple()
VariableVectorRange
- biosimulators_utils.sedml.exceptions module
- biosimulators_utils.sedml.exec module
- biosimulators_utils.sedml.io module
- biosimulators_utils.sedml.math module
- biosimulators_utils.sedml.model_utils module
- biosimulators_utils.sedml.utils module
add_namespaces_to_xml_node()append_all_nested_children_to_doc()apply_changes_to_xml_model()calc_compute_model_change_new_value()calc_data_generator_results()calc_data_generators_results()convert_xml_node_to_string()does_model_language_use_xpath_variable_targets()get_data_generators_for_output()get_first_last_models_executed_by_task()get_model_changes_for_task()get_models_referenced_by_model_change()get_models_referenced_by_range()get_models_referenced_by_task()get_namespaces_for_sed_object()get_range_len()get_task_results_shape()get_value_of_variable_model_xml_targets()get_values_of_variable_model_xml_targets_of_model_change()get_variables_for_data_generators()get_variables_for_task()get_xml_node_namespace_tag_target()is_executable_task()is_model_language_encoded_in_xml()remove_algorithm_parameter_changes()remove_model_changes()remove_plots()replace_complex_data_generators_with_generators_for_individual_variables()resolve_model()resolve_model_and_apply_xml_changes()resolve_range()
- biosimulators_utils.sedml.validation module
validate_algorithm()validate_calculation()validate_data_generator()validate_data_generator_variables()validate_doc()validate_model()validate_model_change_types()validate_model_changes()validate_model_language()validate_model_source()validate_model_with_language()validate_output()validate_reference()validate_repeated_task_has_one_model()validate_simulation()validate_simulation_type()validate_target()validate_target_xpaths()validate_task()validate_uniform_range()
- biosimulators_utils.sedml.warnings module
- biosimulators_utils.simulator package
- Submodules
- biosimulators_utils.simulator.cli module
- biosimulators_utils.simulator.data_model module
- biosimulators_utils.simulator.environ module
- biosimulators_utils.simulator.exceptions module
- biosimulators_utils.simulator.exec module
- biosimulators_utils.simulator.io module
- biosimulators_utils.simulator.specs module
does_algorithm_implementation_have_capabilities_to_execute_parameter()does_algorithm_implementation_have_capabilities_to_execute_sed_model_language()does_algorithm_implementation_have_capabilities_to_execute_sed_task()does_simulator_have_capabilities_to_execute_sed_document()does_simulator_have_capabilities_to_execute_sed_task()gen_algorithms_from_specs()get_simulator_specs()
- biosimulators_utils.simulator.utils module
- biosimulators_utils.simulator_registry package
- biosimulators_utils.utils package
- Submodules
- biosimulators_utils.utils.core module
- biosimulators_utils.utils.identifiers_org module
IdentifiersOrgCountryIdentifiersOrgInstitutionIdentifiersOrgNamespaceIdentifiersOrgNamespace.createdIdentifiersOrgNamespace.deprecatedIdentifiersOrgNamespace.deprecated_dateIdentifiersOrgNamespace.descriptionIdentifiersOrgNamespace.embedded_in_luiIdentifiersOrgNamespace.idIdentifiersOrgNamespace.mir_idIdentifiersOrgNamespace.modifiedIdentifiersOrgNamespace.nameIdentifiersOrgNamespace.patternIdentifiersOrgNamespace.prefixIdentifiersOrgNamespace.resourcesIdentifiersOrgNamespace.sample_id
IdentifiersOrgNamespaceResourceIdentifiersOrgNamespaceResource.countryIdentifiersOrgNamespaceResource.deprecatedIdentifiersOrgNamespaceResource.deprecated_dateIdentifiersOrgNamespaceResource.descriptionIdentifiersOrgNamespaceResource.home_urlIdentifiersOrgNamespaceResource.idIdentifiersOrgNamespaceResource.institutionIdentifiersOrgNamespaceResource.mir_idIdentifiersOrgNamespaceResource.nameIdentifiersOrgNamespaceResource.officialIdentifiersOrgNamespaceResource.provider_codeIdentifiersOrgNamespaceResource.sample_idIdentifiersOrgNamespaceResource.url_pattern
InvalidIdentifiersOrgUridownload_identifiers_org_namespaces()get_identifiers_org_namespace()get_identifiers_org_namespaces()validate_identifiers_org_uri()
- biosimulators_utils.utils.logging module
- biosimulators_utils.viz package
- biosimulators_utils.xml package
Submodules#
biosimulators_utils.config module#
Common configuration for simulation tools
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-29
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT
- class biosimulators_utils.config.Colors(value)[source]#
Bases:
str,EnumAn enumeration.
- class biosimulators_utils.config.Config(OMEX_METADATA_INPUT_FORMAT=OmexMetadataInputFormat.rdfxml, OMEX_METADATA_OUTPUT_FORMAT=OmexMetadataOutputFormat.rdfxml_abbrev, OMEX_METADATA_SCHEMA=OmexMetadataSchema.biosimulations, VALIDATE_OMEX_MANIFESTS=True, VALIDATE_SEDML=True, VALIDATE_SEDML_MODELS=True, VALIDATE_IMPORTED_MODEL_FILES=True, VALIDATE_OMEX_METADATA=True, VALIDATE_IMAGES=True, VALIDATE_RESULTS=True, ALGORITHM_SUBSTITUTION_POLICY=AlgorithmSubstitutionPolicy.SIMILAR_VARIABLES, COLLECT_COMBINE_ARCHIVE_RESULTS=False, COLLECT_SED_DOCUMENT_RESULTS=False, SAVE_PLOT_DATA=True, REPORT_FORMATS=[ReportFormat.h5], VIZ_FORMATS=[VizFormat.pdf], H5_REPORTS_PATH='reports.h5', REPORTS_PATH='reports.zip', PLOTS_PATH='plots.zip', BUNDLE_OUTPUTS=True, KEEP_INDIVIDUAL_OUTPUTS=True, LOG=True, LOG_PATH='log.yml', BIOSIMULATORS_API_ENDPOINT='https://api.biosimulators.org/', BIOSIMULATIONS_API_ENDPOINT='https://api.biosimulations.org/', BIOSIMULATIONS_API_AUTH_ENDPOINT='https://auth.biosimulations.org/oauth/token', BIOSIMULATIONS_API_AUDIENCE='api.biosimulations.org', VERBOSE=False, DEBUG=False)[source]#
Bases:
objectConfiguration
- OMEX_METADATA_INPUT_FORMAT[source]#
format to validate OMEX Metadata files against
- Type:
OmexMetadataInputFormat
- OMEX_METADATA_OUTPUT_FORMAT[source]#
format to export OMEX Metadata files
- Type:
OmexMetadataOutputFormat
- OMEX_METADATA_SCHEMA[source]#
schema to validate OMEX Metadata files against
- Type:
OmexMetadataSchema
- VALIDATE_OMEX_MANIFESTS[source]#
whether to validate OMEX manifests during the validation of COMBINE/OMEX archives
- Type:
bool
- VALIDATE_SEDML[source]#
whether to validate SED-ML files during the validation of COMBINE/OMEX archives
- Type:
bool
- VALIDATE_SEDML_MODELS[source]#
whether to validate models referenced by SED-ML files during the validation of COMBINE/OMEX archives
- Type:
bool
- VALIDATE_OMEX_METADATA[source]#
whether to validate OMEX metadata (RDF files) during the validation of COMBINE/OMEX archives
- Type:
bool
- VALIDATE_IMAGES[source]#
whether to validate the images in COMBINE/OMEX archives during their validation
- Type:
bool
- VALIDATE_RESULTS[source]#
whether to validate the results of simulations following their execution
- Type:
bool
- ALGORITHM_SUBSTITUTION_POLICY[source]#
algorithm substition policy
- Type:
AlgorithmSubstitutionPolicy
- COLLECT_COMBINE_ARCHIVE_RESULTS[source]#
whether to assemble an in memory data structure with all of the simulation results of COMBINE/OMEX archives
- Type:
bool
- COLLECT_SED_DOCUMENT_RESULTS[source]#
whether to assemble an in memory data structure with all of the simulation results of SED documents
- Type:
bool
- SAVE_PLOT_DATA[source]#
whether to save data for plots alongside data for reports in CSV/HDF5 files
- Type:
bool
- H5_REPORTS_PATH[source]#
path to save reports in HDF5 format relative to base output directory
- Type:
str
- REPORTS_PATH[source]#
path to save zip archive of reports relative to base output directory
- Type:
str
- BUNDLE_OUTPUTS[source]#
indicates whether bundles of report and plot outputs should be produced
- Type:
bool
- KEEP_INDIVIDUAL_OUTPUTS[source]#
indicates whether the individual output files should be kept
- Type:
bool
biosimulators_utils.data_model module#
Core data model
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-06
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT
- class biosimulators_utils.data_model.Identifier(namespace=None, id=None, url=None)[source]#
Bases:
objectAn identifier
- is_equal(other)[source]#
Determine if identifiers are equal
- Parameters:
other (
Identifier) – another identifier- Returns:
True, if two identifiers are equal- Return type:
bool
- class biosimulators_utils.data_model.OntologyTerm(namespace=None, id=None, url=None)[source]#
Bases:
IdentifierTerm in an ontology
- class biosimulators_utils.data_model.Person(given_name=None, other_name=None, family_name=None)[source]#
Bases:
objectA person
biosimulators_utils.exceptions module#
Standard exceptions issued by biosimulation tools
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-29
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT
biosimulators_utils.globals module#
biosimulators_utils.image module#
Utilities for working with Docker images
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-06
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT
- biosimulators_utils.image.convert_docker_image_to_singularity(docker_image_url: str, singularity_filename: str | None = None)[source]#
Convert a locally cached Docker image to a Singularity image.
Remotely published Docker images (e.g., images published to Docker Hub, GitHub Container Registry, etc.) should first be pulled (e.g., using
pull_docker_imageordocker pull {image}).- Parameters:
docker_image_url (
str)singularity_filename (
str, optional) – file name for saving Singularity image
- Returns:
path where Singularity image was saved
- Return type:
str
- biosimulators_utils.image.get_docker_image(docker_client: DockerClient, tag: str, pull: bool = True) Image[source]#
Get a Docker image for a simulator
- Parameters:
docker_client (
docker.client.DockerClient) – Docker clienttag (
str) – tag (e.g.,biosimulators/tellurium) or URL (ghcr.io/biosimulators/tellurium) for a Docker image of a simulator
- Returns:
Docker image
- Return type:
docker.models.images.Image
- biosimulators_utils.image.login_to_docker_registry(registry: str, username: str, password: str)[source]#
Login to a Docker registry
- Parameters:
registry (
str) – registry (e.g., ghcr.io)username (
str) – user namepassword (
str) – password
- Returns:
Docker client
- Return type:
docker.client.DockerClient
biosimulators_utils.warnings module#
Standard warnings issued by biosimulation tools
- Author:
Jonathan Karr <karr@mssm.edu>
- Date:
2020-12-29
- Copyright:
2020, Center for Reproducible Biomedical Modeling
- License:
MIT