Skip to content

Commit

Permalink
release/v1.0.8: updating version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 25, 2022
1 parent 43f01a9 commit e7bb366
Show file tree
Hide file tree
Showing 46 changed files with 862 additions and 742 deletions.
2 changes: 1 addition & 1 deletion cmdstanpy/_version.py
@@ -1,3 +1,3 @@
"""PyPi Version"""

__version__ = '1.0.7'
__version__ = '1.0.8'
42 changes: 20 additions & 22 deletions docs/_modules/cmdstanpy/cmdstan_args.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/compiler_opts.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.compiler_opts &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.compiler_opts &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
132 changes: 81 additions & 51 deletions docs/_modules/cmdstanpy/model.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/stanfit.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/stanfit/gq.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit.gq &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit.gq &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/stanfit/mcmc.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit.mcmc &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit.mcmc &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/stanfit/metadata.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit.metadata &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit.metadata &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/stanfit/mle.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit.mle &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit.mle &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
18 changes: 15 additions & 3 deletions docs/_modules/cmdstanpy/stanfit/runset.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit.runset &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit.runset &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down Expand Up @@ -213,6 +213,7 @@ <h1>Source code for cmdstanpy.stanfit.runset</h1><div class="highlight"><pre>
<span class="k">else</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_num_procs</span> <span class="o">=</span> <span class="mi">1</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_retcodes</span> <span class="o">=</span> <span class="p">[</span><span class="o">-</span><span class="mi">1</span> <span class="k">for</span> <span class="n">_</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_num_procs</span><span class="p">)]</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_timeout_flags</span> <span class="o">=</span> <span class="p">[</span><span class="kc">False</span> <span class="k">for</span> <span class="n">_</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_num_procs</span><span class="p">)]</span>
<span class="k">if</span> <span class="n">chain_ids</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">chain_ids</span> <span class="o">=</span> <span class="p">[</span><span class="n">i</span> <span class="o">+</span> <span class="mi">1</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="n">chains</span><span class="p">)]</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_chain_ids</span> <span class="o">=</span> <span class="n">chain_ids</span>
Expand Down Expand Up @@ -399,6 +400,10 @@ <h1>Source code for cmdstanpy.stanfit.runset</h1><div class="highlight"><pre>
<span class="sd">&quot;&quot;&quot;Set retcode at process[idx] to val.&quot;&quot;&quot;</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_retcodes</span><span class="p">[</span><span class="n">idx</span><span class="p">]</span> <span class="o">=</span> <span class="n">val</span>

<span class="k">def</span> <span class="nf">_set_timeout_flag</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">idx</span><span class="p">:</span> <span class="nb">int</span><span class="p">,</span> <span class="n">val</span><span class="p">:</span> <span class="nb">bool</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="sd">&quot;&quot;&quot;Set timeout_flag at process[idx] to val.&quot;&quot;&quot;</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_timeout_flags</span><span class="p">[</span><span class="n">idx</span><span class="p">]</span> <span class="o">=</span> <span class="n">val</span>

<div class="viewcode-block" id="RunSet.get_err_msgs"><a class="viewcode-back" href="../../../internal_api.html#cmdstanpy.stanfit.RunSet.get_err_msgs">[docs]</a> <span class="k">def</span> <span class="nf">get_err_msgs</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">str</span><span class="p">:</span>
<span class="sd">&quot;&quot;&quot;Checks console messages for each CmdStan run.&quot;&quot;&quot;</span>
<span class="n">msgs</span> <span class="o">=</span> <span class="p">[]</span>
Expand Down Expand Up @@ -462,7 +467,14 @@ <h1>Source code for cmdstanpy.stanfit.runset</h1><div class="highlight"><pre>
<span class="k">except</span> <span class="p">(</span><span class="ne">IOError</span><span class="p">,</span> <span class="ne">OSError</span><span class="p">,</span> <span class="ne">PermissionError</span><span class="p">)</span> <span class="k">as</span> <span class="n">e</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
<span class="s1">&#39;Cannot save to file: </span><span class="si">{}</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">to_path</span><span class="p">)</span>
<span class="p">)</span> <span class="kn">from</span> <span class="nn">e</span></div></div>
<span class="p">)</span> <span class="kn">from</span> <span class="nn">e</span></div>

<span class="k">def</span> <span class="nf">raise_for_timeouts</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">if</span> <span class="nb">any</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_timeout_flags</span><span class="p">):</span>
<span class="k">raise</span> <span class="ne">TimeoutError</span><span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="nb">sum</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_timeout_flags</span><span class="p">)</span><span class="si">}</span><span class="s2"> of </span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">num_procs</span><span class="si">}</span><span class="s2"> processes &quot;</span>
<span class="s2">&quot;timed out&quot;</span>
<span class="p">)</span></div>
</pre></div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/_modules/cmdstanpy/stanfit/vb.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.stanfit.vb &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.stanfit.vb &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down
6 changes: 3 additions & 3 deletions docs/_modules/cmdstanpy/utils.html
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>cmdstanpy.utils &#8212; CmdStanPy 1.0.7 documentation</title>
<title>cmdstanpy.utils &#8212; CmdStanPy 1.0.8 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down Expand Up @@ -56,7 +56,7 @@
<div id="navbar-start">

<!-- This will display the version of the docs -->
<a class='navbar-brand' href='../../index.html'>CmdStanPy 1.0.7</a>
<a class='navbar-brand' href='../../index.html'>CmdStanPy 1.0.8</a>

</div>

Expand Down Expand Up @@ -254,7 +254,7 @@ <h1>Source code for cmdstanpy.utils</h1><div class="highlight"><pre>
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
<span class="n">deps_info</span><span class="o">.</span><span class="n">append</span><span class="p">((</span><span class="s1">&#39;cmdstan&#39;</span><span class="p">,</span> <span class="s1">&#39;NOT FOUND&#39;</span><span class="p">))</span>

<span class="n">deps</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;cmdstanpy&#39;</span><span class="p">,</span> <span class="s1">&#39;pandas&#39;</span><span class="p">,</span> <span class="s1">&#39;xarray&#39;</span><span class="p">,</span> <span class="s1">&#39;tqdm&#39;</span><span class="p">,</span> <span class="s1">&#39;numpy&#39;</span><span class="p">,</span> <span class="s1">&#39;ujson&#39;</span><span class="p">]</span>
<span class="n">deps</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;cmdstanpy&#39;</span><span class="p">,</span> <span class="s1">&#39;pandas&#39;</span><span class="p">,</span> <span class="s1">&#39;xarray&#39;</span><span class="p">,</span> <span class="s1">&#39;tqdm&#39;</span><span class="p">,</span> <span class="s1">&#39;numpy&#39;</span><span class="p">]</span>
<span class="k">for</span> <span class="n">module</span> <span class="ow">in</span> <span class="n">deps</span><span class="p">:</span>
<span class="k">try</span><span class="p">:</span>
<span class="k">if</span> <span class="n">module</span> <span class="ow">in</span> <span class="n">sys</span><span class="o">.</span><span class="n">modules</span><span class="p">:</span>
Expand Down

0 comments on commit e7bb366

Please sign in to comment.