From 622a0a4ed374bac0260b072026171b53a62c0c67 Mon Sep 17 00:00:00 2001 From: biosimulatorsdaemon Date: Wed, 18 Aug 2021 05:08:24 +0000 Subject: [PATCH] Updating compiled documentation --- docs/_static/documentation_options.js | 2 +- docs/about.html | 2 +- docs/genindex.html | 16 +++- docs/index.html | 2 +- docs/installation.html | 2 +- docs/py-modindex.html | 2 +- docs/search.html | 2 +- docs/searchindex.js | 2 +- docs/source/biosimulators_xpp.html | 108 +++++++++++++++++++++----- docs/tutorial.html | 8 +- 10 files changed, 113 insertions(+), 33 deletions(-) diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 6e1f597..110c119 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.0.1', + VERSION: '0.0.2', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/about.html b/docs/about.html index e5485e4..27ce335 100644 --- a/docs/about.html +++ b/docs/about.html @@ -5,7 +5,7 @@ - About BioSimulators-XPP — BioSimulators-XPP 0.0.1 documentation + About BioSimulators-XPP — BioSimulators-XPP 0.0.2 documentation diff --git a/docs/genindex.html b/docs/genindex.html index 855ff21..8495723 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -5,7 +5,7 @@ - Index — BioSimulators-XPP 0.0.1 documentation + Index — BioSimulators-XPP 0.0.2 documentation @@ -160,12 +160,20 @@

B

E

@@ -180,7 +188,7 @@

G

diff --git a/docs/index.html b/docs/index.html index 061dbba..85ffe7f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,7 +5,7 @@ - BioSimulators-XPP documentation — BioSimulators-XPP 0.0.1 documentation + BioSimulators-XPP documentation — BioSimulators-XPP 0.0.2 documentation diff --git a/docs/installation.html b/docs/installation.html index 9b41846..aa9778c 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -5,7 +5,7 @@ - Installation instructions — BioSimulators-XPP 0.0.1 documentation + Installation instructions — BioSimulators-XPP 0.0.2 documentation diff --git a/docs/py-modindex.html b/docs/py-modindex.html index 3d11e4a..ab5c83e 100644 --- a/docs/py-modindex.html +++ b/docs/py-modindex.html @@ -5,7 +5,7 @@ - Python Module Index — BioSimulators-XPP 0.0.1 documentation + Python Module Index — BioSimulators-XPP 0.0.2 documentation diff --git a/docs/search.html b/docs/search.html index dd8e257..0c98e40 100644 --- a/docs/search.html +++ b/docs/search.html @@ -5,7 +5,7 @@ - Search — BioSimulators-XPP 0.0.1 documentation + Search — BioSimulators-XPP 0.0.2 documentation diff --git a/docs/searchindex.js b/docs/searchindex.js index 906ff25..327990e 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["about","genindex","index","installation","source/biosimulators_xpp","tutorial"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["about.rst","genindex.rst","index.rst","installation.rst","source/biosimulators_xpp.rst","tutorial.rst"],objects:{"":{biosimulators_xpp:[4,0,0,"-"]},"biosimulators_xpp.core":{exec_sed_task:[4,1,1,""],exec_sedml_docs_in_combine_archive:[4,1,1,""]},"biosimulators_xpp.utils":{apply_model_changes:[4,1,1,""],exec_xpp_simulation:[4,1,1,""],get_results_of_sed_variables:[4,1,1,""],get_simulation_method_kisao_map:[4,1,1,""],get_xpp_version:[4,1,1,""],set_up_simulation:[4,1,1,""],validate_variables:[4,1,1,""],write_method_to_xpp_simulation_file:[4,1,1,""],write_xpp_initial_conditions_file:[4,1,1,""],write_xpp_parameter_file:[4,1,1,""]},biosimulators_xpp:{core:[4,0,0,"-"],data_model:[4,0,0,"-"],utils:[4,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"0":0,"06":4,"07":4,"08":4,"2":0,"2021":4,"default":4,"return":4,"true":4,A:[2,5],For:5,The:5,about:[2,5],abov:5,address:0,after:3,algorithm:[2,4,5],all:5,also:2,an:4,ani:0,api:2,appli:4,applic:[2,5],apply_model_chang:4,ar:5,archiv:[2,4],archive_filenam:4,argument:5,attribut:4,author:4,avail:[2,3,5],bard:[0,5],base:4,below:5,bind:5,biomed:[0,4],biosimul:[3,4,5],biosimulators_xpp:2,bool:4,bundl:4,bundle_output:4,can:5,center:[0,4],chang:4,collect:4,combin:[2,4],combinearchivelog:4,command:[0,2,4],comment:2,compliant:[2,4,5],condit:4,configur:4,consol:5,contact:0,contain:5,copyright:4,core:2,could:5,cours:4,creat:2,csv:4,d:5,data:4,data_model:2,datafram:4,date:4,debug:5,defin:4,describ:[2,5],develop:2,dict:4,dictionari:4,dir:5,directori:[4,5],docker:[0,2],doesn:4,e:4,each:4,edu:[4,5],enabl:2,encapsul:[3,5],encod:2,entrypoint:2,ermentrout:0,exec_sed_task:4,exec_sedml_docs_in_combine_arch:4,exec_xpp_simul:4,execut:[2,4,5],exit:5,experi:2,file:[4,5],filenam:4,follow:[3,5],format:[2,4,5],from:[4,5],full:5,g:4,gener:4,get:4,get_results_of_sed_vari:4,get_simulation_method_kisao_map:4,get_xpp_vers:4,ghcr:[3,5],gpl:0,h5:4,h:5,hdf5:4,help:5,how:5,html:5,http:5,i:5,ic:4,icahn:0,id:4,illustr:5,imag:[0,2],in_filenam:4,index:2,indic:5,individu:4,inform:5,initi:4,initial_condit:4,instal:[2,4],instruct:2,interfac:[2,4,5],invert:4,io:[3,5],its:4,jonathan:4,karr:[0,4],keep:4,keep_individual_output:4,kei:4,kinet:2,kisao:4,lab:0,latest:5,licens:[2,4],line:[0,2,4],list:[2,4,5],log:4,logic:5,map:4,math:5,medicin:0,messag:5,method:4,mit:[0,4],ml:[2,4],mode:5,model:[0,2,4],modelattributechang:4,modifi:4,modul:2,more:[2,5],mount:[0,5],mssm:4,none:4,notimplementederror:4,number:5,o:5,omex:[2,4],one:[2,5],option:[4,5],ordereddict:4,out:5,out_dir:[4,5],out_filenam:4,output:[4,5],overrid:4,overwrit:4,overwrite_initial_condit:4,overwrite_method:4,overwrite_paramet:4,packag:[0,2],panda:4,par:4,paramet:[2,4,5],path:[4,5],pdf:4,pip:3,pitt:5,pittsburgh:0,pleas:0,plot:4,plot_format:4,program:[0,2,4],provid:2,pull:3,pwd:5,q:5,question:2,quiet:5,rais:4,raw:4,record:4,registri:5,rel:4,releas:0,report:4,report_format:4,reportformat:4,reproduc:[0,4],requir:4,result:[4,5],rm:5,run:[3,5],runbiosimul:2,s:5,same:5,save:[4,5],school:0,sed:[2,4],sed_chang:4,sed_sim:4,sed_simul:4,sed_vari:4,servic:2,set:4,set_up_simul:4,should:4,show:5,sim_filenam:4,simpl:2,simul:[2,4],simulation_method:4,sinai:0,singl:4,sourc:[4,5],specif:5,store:4,str:4,studi:5,submodul:2,suit:5,support:[2,4,5],suppress:5,t:4,target:5,task:4,tasklog:4,team:2,term:5,test:5,thi:[0,2,5],time:4,tmp:5,tool:2,tty:5,tupl:4,tutori:2,type:[4,5],under:0,uniformtimecoursesimul:4,univers:0,us:[2,5],usag:5,user:2,util:2,v:5,valid:4,validate_vari:4,valu:4,variabl:[4,5],variableresult:4,version:[4,5],vizformat:4,wa:0,web:2,whether:4,which:[4,5],within:4,work:5,write:4,write_method_to_xpp_simulation_fil:4,write_xpp_initial_conditions_fil:4,write_xpp_parameter_fil:4,www:5,xml:5,xpath:5,xpp:[3,4],xpp_model:4,xpp_result:4,xpp_sim:4},titles:["About BioSimulators-XPP","Index","BioSimulators-XPP documentation","Installation instructions","biosimulators_xpp package","Tutorial"],titleterms:{about:0,archiv:5,biosimul:[0,2],biosimulators_xpp:4,combin:5,command:[3,5],comment:0,content:2,core:4,creat:5,data_model:4,develop:0,docker:[3,5],document:2,encod:5,entrypoint:[3,5],exampl:5,experi:5,imag:[3,5],index:1,instal:3,instruct:3,kisao:5,licens:0,line:[3,5],ml:5,model:5,modul:4,omex:5,packag:4,program:[3,5],question:0,sed:5,simul:5,submodul:4,team:0,tutori:5,util:4,xpp:[0,2,5]}}) \ No newline at end of file +Search.setIndex({docnames:["about","genindex","index","installation","source/biosimulators_xpp","tutorial"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["about.rst","genindex.rst","index.rst","installation.rst","source/biosimulators_xpp.rst","tutorial.rst"],objects:{"":{biosimulators_xpp:[4,0,0,"-"]},"biosimulators_xpp.core":{exec_sed_task:[4,1,1,""],exec_sedml_docs_in_combine_archive:[4,1,1,""]},"biosimulators_xpp.utils":{apply_model_changes:[4,1,1,""],exec_xpp_simulation:[4,1,1,""],get_results_of_sed_variables:[4,1,1,""],get_simulation_method_kisao_map:[4,1,1,""],set_up_simulation:[4,1,1,""],validate_variables:[4,1,1,""],write_method_to_xpp_simulation_file:[4,1,1,""],write_xpp_initial_conditions_file:[4,1,1,""],write_xpp_parameter_file:[4,1,1,""]},biosimulators_xpp:{core:[4,0,0,"-"],data_model:[4,0,0,"-"],exec_sed_task:[4,1,1,""],exec_sedml_docs_in_combine_archive:[4,1,1,""],get_simulator_version:[4,1,1,""],utils:[4,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:function"},terms:{"0":0,"06":4,"07":4,"08":4,"2":0,"2021":4,"default":4,"return":4,"true":4,A:[2,5],For:5,The:5,about:[2,5],abov:5,address:0,after:3,algorithm:[2,4,5],all:5,also:2,an:4,ani:0,api:2,appli:4,applic:[2,5],apply_model_chang:4,ar:5,archiv:[2,4],archive_filenam:4,argument:5,attribut:4,author:4,avail:[2,3,5],bard:[0,5],base:4,below:5,bind:5,biomed:[0,4],biosimul:[3,4,5],biosimulators_xpp:2,bool:4,bundl:4,bundle_output:4,can:5,center:[0,4],chang:4,collect:4,combin:[2,4],combinearchivelog:4,command:[0,2,4],comment:2,compliant:[2,4,5],condit:4,configur:4,consol:5,contact:0,contain:5,copyright:4,core:2,could:5,cours:4,creat:2,csv:4,d:5,data:4,data_model:2,datafram:4,date:4,debug:5,defin:4,describ:[2,5],develop:2,dict:4,dictionari:4,dir:5,directori:[4,5],docker:[0,2],doesn:4,e:4,each:4,edu:[4,5],enabl:2,encapsul:[3,5],encod:2,entrypoint:2,ermentrout:0,except:4,exec_sed_task:4,exec_sedml_docs_in_combine_arch:4,exec_xpp_simul:4,execut:[2,4,5],exit:5,experi:2,fals:4,file:[4,5],filenam:4,follow:[3,5],format:[2,4,5],from:[4,5],full:5,g:4,gener:4,get:4,get_results_of_sed_vari:4,get_simulation_method_kisao_map:4,get_simulator_vers:4,get_xpp_vers:[],ghcr:[3,5],gpl:0,h5:4,h:5,hdf5:4,help:5,how:5,html:5,http:5,i:5,ic:4,icahn:0,id:4,illustr:5,imag:[0,2],in_filenam:4,index:2,indic:5,individu:4,inform:5,initi:4,initial_condit:4,instal:[2,4],instruct:2,interfac:[2,4,5],invert:4,io:[3,5],its:4,jonathan:4,karr:[0,4],keep:4,keep_individual_output:4,kei:4,kinet:2,kisao:4,lab:0,latest:5,licens:[2,4],line:[0,2,4],list:[2,4,5],log:4,logic:[],map:4,math:5,medicin:0,messag:5,method:4,mit:[0,4],ml:[2,4],mode:5,model:[0,2,4],modelattributechang:4,modifi:4,modul:2,more:[2,5],mount:[0,5],mssm:4,name:5,none:4,notimplementederror:4,number:5,o:5,omex:[2,4],one:[2,5],option:[4,5],ordereddict:4,out:5,out_dir:[4,5],out_filenam:4,output:[4,5],overrid:4,overwrit:4,overwrite_initial_condit:4,overwrite_method:4,overwrite_paramet:4,packag:[0,2],panda:4,par:4,paramet:[2,4,5],path:[4,5],pdf:4,pip:3,pitt:5,pittsburgh:0,pleas:0,plot:4,plot_format:4,program:[0,2,4],provid:2,pull:3,pwd:5,q:5,question:2,quiet:5,rais:4,raise_except:4,raw:4,record:4,registri:5,rel:4,releas:0,report:4,report_format:4,reportformat:4,reproduc:[0,4],requir:4,result:[4,5],return_result:4,rm:5,run:[3,5],runbiosimul:2,s:5,same:5,save:[4,5],school:0,sed:[2,4],sed_chang:4,sed_sim:4,sed_simul:4,sed_vari:4,seddocumentresult:4,servic:2,set:4,set_up_simul:4,should:4,show:5,sim_filenam:4,simpl:2,simul:[2,4],simulation_method:4,sinai:0,singl:4,sourc:[4,5],specif:5,store:4,str:4,studi:5,submodul:2,suit:5,support:[2,4,5],suppress:5,t:4,target:5,task:4,tasklog:4,team:2,term:5,test:5,thi:[0,2,5],time:4,tmp:5,tool:2,tty:5,tupl:4,tutori:2,type:[4,5],under:0,uniformtimecoursesimul:4,univers:0,us:[2,5],usag:5,user:2,util:2,v:5,valid:4,validate_vari:4,valu:4,variabl:[4,5],variableresult:4,version:[4,5],vizformat:4,wa:0,web:2,whether:4,which:[4,5],within:4,work:5,write:4,write_method_to_xpp_simulation_fil:4,write_xpp_initial_conditions_fil:4,write_xpp_parameter_fil:4,www:5,xml:[],xpath:[],xpp:[3,4],xpp_model:4,xpp_result:4,xpp_sim:4},titles:["About BioSimulators-XPP","Index","BioSimulators-XPP documentation","Installation instructions","biosimulators_xpp package","Tutorial"],titleterms:{about:0,archiv:5,biosimul:[0,2],biosimulators_xpp:4,combin:5,command:[3,5],comment:0,content:2,core:4,creat:5,data_model:4,develop:0,docker:[3,5],document:2,encod:5,entrypoint:[3,5],exampl:5,experi:5,imag:[3,5],index:1,instal:3,instruct:3,kisao:5,licens:0,line:[3,5],ml:5,model:5,modul:4,omex:5,packag:4,program:[3,5],question:0,sed:5,simul:5,submodul:4,team:0,tutori:5,util:4,xpp:[0,2,5]}}) \ No newline at end of file diff --git a/docs/source/biosimulators_xpp.html b/docs/source/biosimulators_xpp.html index 8a3a6e7..54b0fdf 100644 --- a/docs/source/biosimulators_xpp.html +++ b/docs/source/biosimulators_xpp.html @@ -5,7 +5,7 @@ - biosimulators_xpp package — BioSimulators-XPP 0.0.1 documentation + biosimulators_xpp package — BioSimulators-XPP 0.0.2 documentation @@ -111,6 +111,86 @@

Quick search

biosimulators_xpp package

+
+
+biosimulators_xpp.exec_sed_task(task, variables, log=None)[source]
+

Execute a task and save its results

+
+
Parameters
+
    +
  • task (Task) – task

  • +
  • variables (list of Variable) – variables that should be recorded

  • +
  • log (TaskLog, optional) – log for the task

  • +
+
+
Returns
+

VariableResults: results of variables +TaskLog: log

+
+
Return type
+

tuple

+
+
Raises
+

NotImplementedError

    +
  • Task requires a time course that XPP doesn’t support + * Task requires an algorithm that XPP doesn’t support

  • +
+

+
+
+
+ +
+
+biosimulators_xpp.exec_sedml_docs_in_combine_archive(archive_filename, out_dir, return_results=False, report_formats=None, plot_formats=None, bundle_outputs=None, keep_individual_outputs=None, raise_exceptions=True)[source]
+

Execute the SED tasks defined in a COMBINE/OMEX archive and save the outputs

+
+
Parameters
+
    +
  • archive_filename (str) – path to COMBINE/OMEX archive

  • +
  • out_dir (str) –

    path to store the outputs of the archive

    +
      +
    • CSV: directory in which to save outputs to files +{ out_dir }/{ relative-path-to-SED-ML-file-within-archive }/{ report.id }.csv

    • +
    • HDF5: directory in which to save a single HDF5 file ({ out_dir }/reports.h5), +with reports at keys { relative-path-to-SED-ML-file-within-archive }/{ report.id } within the HDF5 file

    • +
    +

  • +
  • return_results (bool, optional) – whether to return the result of each output of each SED-ML file

  • +
  • report_formats (list of ReportFormat, optional) – report format (e.g., csv or h5)

  • +
  • plot_formats (list of VizFormat, optional) – report format (e.g., pdf)

  • +
  • bundle_outputs (bool, optional) – if True, bundle outputs into archives for reports and plots

  • +
  • keep_individual_outputs (bool, optional) – if True, keep individual output files

  • +
  • raise_exceptions (bool, optional) – whether to raise exceptions

  • +
+
+
Returns
+

    +
  • SedDocumentResults: results

  • +
  • CombineArchiveLog: log

  • +
+

+
+
Return type
+

tuple

+
+
+
+ +
+
+biosimulators_xpp.get_simulator_version()[source]
+

Get the installed version of XPP

+
+
Returns
+

version

+
+
Return type
+

str

+
+
+
+

Submodules

@@ -162,7 +242,7 @@

Submodules
-biosimulators_xpp.core.exec_sedml_docs_in_combine_archive(archive_filename, out_dir, report_formats=None, plot_formats=None, bundle_outputs=None, keep_individual_outputs=None)[source]
+biosimulators_xpp.core.exec_sedml_docs_in_combine_archive(archive_filename, out_dir, return_results=False, report_formats=None, plot_formats=None, bundle_outputs=None, keep_individual_outputs=None, raise_exceptions=True)[source]

Execute the SED tasks defined in a COMBINE/OMEX archive and save the outputs

Parameters
@@ -176,17 +256,23 @@

Submodules{ relative-path-to-SED-ML-file-within-archive }/{ report.id } within the HDF5 file

+
  • return_results (bool, optional) – whether to return the result of each output of each SED-ML file

  • report_formats (list of ReportFormat, optional) – report format (e.g., csv or h5)

  • plot_formats (list of VizFormat, optional) – report format (e.g., pdf)

  • bundle_outputs (bool, optional) – if True, bundle outputs into archives for reports and plots

  • keep_individual_outputs (bool, optional) – if True, keep individual output files

  • +
  • raise_exceptions (bool, optional) – whether to raise exceptions

  • Returns
    -

    log

    +

      +
    • SedDocumentResults: results

    • +
    • CombineArchiveLog: log

    • +
    +

    Return type
    -

    CombineArchiveLog

    +

    tuple

    @@ -299,20 +385,6 @@

    Submodules -
    -biosimulators_xpp.utils.get_xpp_version()[source]
    -

    Get the installed version of XPP

    -
    -
    Returns
    -

    version

    -
    -
    Return type
    -

    str

    -
    -
    -
    -
    biosimulators_xpp.utils.set_up_simulation(sed_sim, xpp_sim)[source]
    diff --git a/docs/tutorial.html b/docs/tutorial.html index c664dec..5064146 100644 --- a/docs/tutorial.html +++ b/docs/tutorial.html @@ -5,7 +5,7 @@ - Tutorial — BioSimulators-XPP 0.0.1 documentation + Tutorial — BioSimulators-XPP 0.0.2 documentation @@ -121,17 +121,17 @@

    Models (XPP)

    Simulation experiments (SED-ML, KISAO)

    -

    BioSimulators-XPP can execute simulation experiments encoded in SED-ML, using KiSAO to indicate specific algorithms and their parameters. Information about the algorithms (KiSAO terms), algorithm parameters (KiSAO terms), and outputs (XML XPaths for variables) supported by BioSimulators-XPP is available from the BioSimulators registry.

    +

    BioSimulators-XPP can execute simulation experiments encoded in SED-ML, using KiSAO to indicate specific algorithms and their parameters. Information about the algorithms (KiSAO terms), algorithm parameters (KiSAO terms), and outputs (names for variables) supported by BioSimulators-XPP is available from the BioSimulators registry.

    Example COMBINE/OMEX archives

    -

    Examples of COMBINE/OMEX archives for logical simulations which BioSimulators-XPP can execute are available in the BioSimulators test suite.

    +

    Examples of COMBINE/OMEX archives for simulations which BioSimulators-XPP can execute are available in the BioSimulators test suite.

    Command-line program

    The command-line program can be used to execute COMBINE/OMEX archives that describe simulations as illustrated below.

    -
    usage: xpp [-h] [-d] [-q] -i ARCHIVE [-o OUT_DIR] [-v]
    +
    usage: biosimulators-xpp [-h] [-d] [-q] -i ARCHIVE [-o OUT_DIR] [-v]
     
     BioSimulators-compliant command-line interface to the XPP <http://www.math.pitt.edu/~bard/xpp/xpp.html> simulation program.