Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Sep 3, 2024
1 parent 13100cb commit 7d573f8
Show file tree
Hide file tree
Showing 40 changed files with 1,836 additions and 1,694 deletions.
13 changes: 7 additions & 6 deletions bio_compose/verifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ def verify_sbml(
- **start**: `int`: The start time of the time course to include in comparison.
- **end**: `int`: The end of the comparison job in seconds.
- **steps**: `int`: The number of steps in the comparison job.
- **simulators**: `List[str]`: The list of simulators to include in comparison. Defaults to all utc simulators (amici, copasi, tellurium)
- **simulators**: `List[str], optional`: The list of simulators to include in comparison. Defaults to all utc simulators (amici, copasi, tellurium)
- **include_outputs**: `bool, optional`: Whether to include the output data used to calculate comparison in the job results on result fetch. Defaults to True.
- **comparison_id**: `str, optional`: The unique identifier for the comparison job. Defaults to None. If `None` is passed, a comparison id of `bio_check-request-<UUID>` is generated.
- **expected_results**: `str, optional`: The path to the ground expected_results report file to include in comparison. Defaults to None.
- **rTol**: `float`, optional: The relative tolerance used to determine the relative distance in a pairwise comparison.
- **aTol**: `float`L optional: The absolute tolerance used to determine the absolute distance in a pairwise comparison.
- **selection_list**: `List[str]`: Observables to include in the output. If passed, all observable names NOT in this list will be excluded. Defaults to `None` (all observables).
- **rTol**: `float, optional`: The relative tolerance used to determine the relative distance in a pairwise comparison.
- **aTol**: `float, optional`: The absolute tolerance used to determine the absolute distance in a pairwise comparison.
- **selection_list**: `List[str], optional`: Observables to include in the output. If passed, all observable names NOT in this list will be excluded. Defaults to `None` (all observables).
- **_steady_state**: `bool, optional`: Whether to include the steady state analysis job. NOTE: This feature will currently throw an error as it is not yet implemented.
Returns:
Expand Down Expand Up @@ -339,13 +339,14 @@ def visualize_outputs(

return fig

def visualize_rmse(self, job_id: str, size_dimensions: tuple[int, int] = None, color_mapping: list[str] = None):
def visualize_rmse(self, job_id: str, size_dimensions: tuple[int, int] = None, color_mapping: list[str] = None) -> None:
"""
Visualize the root-mean-squared error between simulator verification outputs as a heatmap.
Args:
- **job_id**: `str`: verification job id. This value can be easily derived from either of ``Verifier`'s `.verify_...` methods.
- **size_dimensions**: `tuple[int, int]`: The value to use as the `figsize` parameter for a call to `matplotlib.pyplot.figure()`. If `None` is pa
- **size_dimensions**: `Tuple[int, int], optional`: The value to use as the `figsize` parameter for a call to `matplotlib.pyplot.figure()`. If `None` is passed, default to (8, 6).
- **color_mapping**: `List[str], optional`: list of colors to use for each simulator in the grid. Defaults to None.
"""
# extract data
rmse_matrix = self.get_rmse(job_id)
Expand Down
9 changes: 8 additions & 1 deletion documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@
6. Ensure you are in the directory in which the ``Makefile`` is stored and create the HTML. Be sure to read the returning message from this step:
```bash
make html
```
```
## Applying changes:
```bash
cd documentation && make clean && make html
```
Binary file modified documentation/build/doctrees/bio_compose.doctree
Binary file not shown.
Binary file modified documentation/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified documentation/build/doctrees/index.doctree
Binary file not shown.
Binary file added documentation/build/doctrees/installation.doctree
Binary file not shown.
Binary file modified documentation/build/doctrees/modules.doctree
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion documentation/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 753caf7d9b65efa8bb67282006f9d663
config: 048a4c98aae494d4d3d537be6e70911e
tags: 645f666f9bcd5a90fca523b33c5a78b7
120 changes: 56 additions & 64 deletions documentation/build/html/_modules/bio_compose/bundles.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,33 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bio_compose.bundles &#8212; BioCompose 0.3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=d1102ebc" />
<link rel="stylesheet" type="text/css" href="../../_static/basic.css?v=c058f7c8" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=27fed22d" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../_static/agogo.css?v=8513425a" />
<script src="../../_static/documentation_options.js?v=71d9d8e6"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />

<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />





<link rel="search" title="Search" href="../../search.html" />
</head><body>

<div class="header-wrapper" role="banner">
<div class="header">
<div class="headertitle"><a
href="../../index.html">BioCompose 0.3.2 documentation</a></div>
<div class="rel" role="navigation" aria-label="Related">
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |
<a href="../../genindex.html" title="General Index"
accesskey="I">index</a>
</div>
</div>
</div>

<div class="document">
<div class="content-wrapper">
<div class="content">
<div class="document">

<div class="documentwrapper">
<div class="bodywrapper">


<div class="body" role="main">

<h1>Source code for bio_compose.bundles</h1><div class="highlight"><pre>
Expand Down Expand Up @@ -92,68 +96,56 @@ <h1>Source code for bio_compose.bundles</h1><div class="highlight"><pre>

</pre></div>

<div class="clearer"></div>
</div>

</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../index.html">BioCompose</a></h1>









<search id="searchbox" style="display: none" role="search">
<div class="searchformwrapper">
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
</div>
<div class="sidebar">

<h3>Table of Contents</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../modules.html">bio_compose</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../../index.html">Documentation overview</a><ul>
<li><a href="../index.html">Module code</a><ul>
</ul></li>
</ul></li>
</ul>
</div>





<search role="search">
<h3 style="margin-top: 1.5em;">Search</h3>
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
</form>
</search>

</div>
<div class="clearer"></div>
</div>
</div>

<div class="footer-wrapper">
<div class="footer">
<div class="left">
<div role="navigation" aria-label="Related">
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |
<a href="../../genindex.html" title="General Index"
>index</a>
</div>
<div role="note" aria-label="source link">
</div>
</div>

<div class="right">

<div class="footer" role="contentinfo">
&#169; Copyright 2024, Alexander A. Patrie.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
</div>
</div>
<div class="clearer"></div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&#169;2024, Alexander A. Patrie.

|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.0.2</a>
&amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>

</div>




</body>
</html>
120 changes: 56 additions & 64 deletions documentation/build/html/_modules/bio_compose/composer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,33 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bio_compose.composer &#8212; BioCompose 0.3.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=d1102ebc" />
<link rel="stylesheet" type="text/css" href="../../_static/basic.css?v=c058f7c8" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=27fed22d" />
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../_static/agogo.css?v=8513425a" />
<script src="../../_static/documentation_options.js?v=71d9d8e6"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />

<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />





<link rel="search" title="Search" href="../../search.html" />
</head><body>

<div class="header-wrapper" role="banner">
<div class="header">
<div class="headertitle"><a
href="../../index.html">BioCompose 0.3.2 documentation</a></div>
<div class="rel" role="navigation" aria-label="Related">
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |
<a href="../../genindex.html" title="General Index"
accesskey="I">index</a>
</div>
</div>
</div>

<div class="document">
<div class="content-wrapper">
<div class="content">
<div class="document">

<div class="documentwrapper">
<div class="bodywrapper">


<div class="body" role="main">

<h1>Source code for bio_compose.composer</h1><div class="highlight"><pre>
Expand Down Expand Up @@ -62,68 +66,56 @@ <h1>Source code for bio_compose.composer</h1><div class="highlight"><pre>

</pre></div>

<div class="clearer"></div>
</div>

</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../../index.html">BioCompose</a></h1>









<search id="searchbox" style="display: none" role="search">
<div class="searchformwrapper">
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
</div>
<div class="sidebar">

<h3>Table of Contents</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../modules.html">bio_compose</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="../../index.html">Documentation overview</a><ul>
<li><a href="../index.html">Module code</a><ul>
</ul></li>
</ul></li>
</ul>
</div>





<search role="search">
<h3 style="margin-top: 1.5em;">Search</h3>
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
</form>
</search>

</div>
<div class="clearer"></div>
</div>
</div>

<div class="footer-wrapper">
<div class="footer">
<div class="left">
<div role="navigation" aria-label="Related">
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |
<a href="../../genindex.html" title="General Index"
>index</a>
</div>
<div role="note" aria-label="source link">
</div>
</div>

<div class="right">

<div class="footer" role="contentinfo">
&#169; Copyright 2024, Alexander A. Patrie.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
</div>
</div>
<div class="clearer"></div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&#169;2024, Alexander A. Patrie.

|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.0.2</a>
&amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>

</div>




</body>
</html>
Loading

0 comments on commit 7d573f8

Please sign in to comment.