-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #731 from StochSS/develop
Release 1.6.9
- Loading branch information
Showing
321 changed files
with
59,291 additions
and
51,981 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 85b86bfadf484dc8346375c8ac88a258 | ||
config: 3660d62a689826af0ef6e8b2cfa373ce | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-199 Bytes
(94%)
docs/build/html/.doctrees/classes/gillespy2.solvers.auto.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+380 KB
(970%)
docs/build/html/.doctrees/classes/gillespy2.solvers.cpp.doctree
Binary file not shown.
Binary file modified
BIN
-15.6 KB
(20%)
docs/build/html/.doctrees/classes/gillespy2.solvers.cython.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+108 KB
(160%)
docs/build/html/.doctrees/classes/gillespy2.solvers.numpy.doctree
Binary file not shown.
Binary file modified
BIN
+32.6 KB
(130%)
docs/build/html/.doctrees/classes/gillespy2.solvers.stochkit.doctree
Binary file not shown.
Binary file modified
BIN
+5.07 KB
(120%)
docs/build/html/.doctrees/classes/gillespy2.solvers.utilities.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+250 Bytes
(100%)
docs/build/html/.doctrees/getting_started/basic_usage/basic_usage.doctree
Binary file not shown.
Binary file modified
BIN
+181 Bytes
(100%)
docs/build/html/.doctrees/getting_started/installation/installation.doctree
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+141 Bytes
(110%)
docs/build/html/.doctrees/tutorials/tut_michaelis_menten/tut_michaelis_menten.doctree
Binary file not shown.
Binary file modified
BIN
+141 Bytes
(110%)
docs/build/html/.doctrees/tutorials/tut_sbml/tut_sbml.doctree
Binary file not shown.
Binary file modified
BIN
+158 Bytes
(100%)
docs/build/html/.doctrees/tutorials/tut_toggle_switch/tut_toggle_switch.doctree
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>gillespy2.core.cleanup — GillesPy2 1.6.9 documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/css/gillespy2_alabaster_customizations.css" /> | ||
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script> | ||
<script src="../../../_static/jquery.js"></script> | ||
<script src="../../../_static/underscore.js"></script> | ||
<script src="../../../_static/doctools.js"></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="apple-touch-icon" href="../../../_static/img/gillespy2-logo.svg" /> | ||
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
||
</head><body> | ||
<div class="document"> | ||
|
||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
<div class="sphinxsidebarwrapper"> | ||
<p class="logo"> | ||
<a href="../../../index.html"> | ||
<img class="logo" src="../../../_static/img/gillespy2-logo.svg" alt="Logo"/> | ||
|
||
</a> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<p> | ||
<iframe src="https://ghbtns.com/github-btn.html?user=GillesPy2&repo=GillesPy2&type=watch&count=true&size=large&v=2" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
<h3>Navigation</h3> | ||
<p class="caption" role="heading"><span class="caption-text">Getting started</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../getting_started/installation/installation.html">Installation</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../getting_started/basic_usage/basic_usage.html">Basic usage</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Tutorials</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../tutorials/tut_toggle_switch/tut_toggle_switch.html">Tutorial: ODE vs. SSA</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">API reference</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../classes/gillespy2.html">gillespy2 package</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> | ||
<div id="searchbox" style="display: none" role="search"> | ||
<h3 id="searchlabel">Quick search</h3> | ||
<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"/> | ||
<input type="submit" value="Go" /> | ||
</form> | ||
</div> | ||
</div> | ||
<script>$('#searchbox').show(0);</script> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
<div class="documentwrapper"> | ||
<div class="bodywrapper"> | ||
|
||
|
||
<div class="body" role="main"> | ||
|
||
<h1>Source code for gillespy2.core.cleanup</h1><div class="highlight"><pre> | ||
<span></span><span class="c1"># GillesPy2 is a modeling toolkit for biochemical simulation.</span> | ||
<span class="c1"># Copyright (C) 2019-2022 GillesPy2 developers.</span> | ||
|
||
<span class="c1"># This program is free software: you can redistribute it and/or modify</span> | ||
<span class="c1"># it under the terms of the GNU General Public License as published by</span> | ||
<span class="c1"># the Free Software Foundation, either version 3 of the License, or</span> | ||
<span class="c1"># (at your option) any later version.</span> | ||
|
||
<span class="c1"># This program is distributed in the hope that it will be useful,</span> | ||
<span class="c1"># but WITHOUT ANY WARRANTY; without even the implied warranty of</span> | ||
<span class="c1"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> | ||
<span class="c1"># GNU General Public License for more details.</span> | ||
|
||
<span class="c1"># You should have received a copy of the GNU General Public License</span> | ||
<span class="c1"># along with this program. If not, see <http://www.gnu.org/licenses/>.</span> | ||
|
||
<span class="kn">import</span> <span class="nn">os</span> | ||
<span class="kn">import</span> <span class="nn">shutil</span> | ||
<span class="kn">import</span> <span class="nn">tempfile</span> | ||
|
||
<div class="viewcode-block" id="cleanup_tempfiles"><a class="viewcode-back" href="../../../classes/gillespy2.core.html#gillespy2.core.cleanup.cleanup_tempfiles">[docs]</a><span class="k">def</span> <span class="nf">cleanup_tempfiles</span><span class="p">():</span> | ||
<span class="sd">'''</span> | ||
<span class="sd"> Cleanup all tempfiles in gillespy2 build.</span> | ||
<span class="sd"> '''</span> | ||
<span class="n">tempdir</span> <span class="o">=</span> <span class="n">tempfile</span><span class="o">.</span><span class="n">gettempdir</span><span class="p">()</span> | ||
<span class="k">for</span> <span class="n">file_obj</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">listdir</span><span class="p">(</span><span class="n">tempdir</span><span class="p">):</span> | ||
<span class="k">if</span> <span class="n">file_obj</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="s2">"gillespy2_build"</span><span class="p">):</span> | ||
<span class="n">shutil</span><span class="o">.</span><span class="n">rmtree</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">tempdir</span><span class="p">,</span> <span class="n">file_obj</span><span class="p">))</span></div> | ||
</pre></div> | ||
|
||
</div> | ||
<div class="related bottom"> | ||
| ||
<nav id="rellinks"> | ||
<ul> | ||
</ul> | ||
</nav> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="clearer"></div> | ||
</div> | ||
<div class="footer"> | ||
©Copyright (C) 2017-2021. | ||
|
||
| | ||
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.4.0</a> | ||
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | ||
|
||
</div> | ||
|
||
|
||
<a href="https://github.com/GillesPy2/GillesPy2" class="github"> | ||
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/> | ||
</a> | ||
|
||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.