Skip to content

Commit

Permalink
Merge pull request #7 from nrc-cnrc/hotfix
Browse files Browse the repository at this point in the history
minor bug fixes
  • Loading branch information
hvparks authored Apr 10, 2019
2 parents 8efc30e + 3373db6 commit 45c6e8b
Show file tree
Hide file tree
Showing 33 changed files with 1,098 additions and 1,146 deletions.
Binary file removed dist/metrolopy-0.5.2.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/metrolopy-0.5.3.tar.gz
Binary file not shown.
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/hand_made_doc.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/metrolopy.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/metrolopy.tests.doctree
Binary file not shown.
5 changes: 2 additions & 3 deletions docs/_build/html/_sources/hand_made_doc.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,10 @@ basic gummy methods
``self`` and *g*.

- static **correlation_matrix(gummys)**: Returns the correlation matrix of a
list or array of gummys. The return value is a numpy.ndarray.
list or array of gummys.

- static **covariance_matrix(gummys)**: Returns the variance-covariance
matrix of a list or array of gummys. The return value is a
numpy.ndarray.
matrix of a list or array of gummys.

- **copy(formatting=True, tofloat=False)**: Returns a copy of the gummy.
The copy will
Expand Down
1 change: 1 addition & 0 deletions docs/_build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ version history
* Version 0.5.2, built 5 April 2019, fixed a major bug that propagated
uncertainty incorrectly if a gummy was created with an uncertainty set with
an integer data type. Fixed several other minor bugs.
* Version 0.5.3, built 10 April 2019, minor bug fixes.


author
Expand Down
64 changes: 10 additions & 54 deletions docs/_build/html/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Index &#8212; metrolopy 0.5.2 documentation</title>
<title>Index &#8212; metrolopy 0.5.3 documentation</title>

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

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.5.2',
VERSION: '0.5.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -39,7 +39,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -146,8 +146,6 @@ <h2 id="B">B</h2>
</li>
</ul></li>
<li><a href="metrolopy.html#metrolopy.distributions.TDist.bayesian_default">bayesian_default (metrolopy.distributions.TDist attribute)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.binary_func">binary_func() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.html#metrolopy.prefixedunit.BinaryPrefixedUnit">BinaryPrefixedUnit (class in metrolopy.prefixedunit)</a>
</li>
Expand Down Expand Up @@ -372,16 +370,14 @@ <h2 id="D">D</h2>
<li><a href="metrolopy.html#metrolopy.budget.Budget.df_html">df_html (metrolopy.budget.Budget attribute)</a>
</li>
<li><a href="metrolopy.html#metrolopy.budget.Budget.df_latex">df_latex (metrolopy.budget.Budget attribute)</a>
</li>
<li><a href="metrolopy.html#metrolopy.budget.Budget.df_str">df_str (metrolopy.budget.Budget attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="metrolopy.html#metrolopy.budget.Budget.df_str">df_str (metrolopy.budget.Budget attribute)</a>
</li>
<li><a href="metrolopy.html#metrolopy.dfunc.Dfunc">Dfunc (class in metrolopy.dfunc)</a>
</li>
<li><a href="metrolopy.html#metrolopy.functions.diff">diff() (in module metrolopy.functions)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.display">display() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.html#metrolopy.distributions.Distribution">Distribution (class in metrolopy.distributions)</a>
</li>
Expand Down Expand Up @@ -737,10 +733,6 @@ <h2 id="L">L</h2>
<h2 id="M">M</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.make_gummy">make_gummy() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.make_number">make_number() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.html#metrolopy.ummy.ummy.max_digits">max_digits (metrolopy.ummy.ummy attribute)</a>
</li>
<li><a href="metrolopy.html#metrolopy.ummy.ummy.max_dof">max_dof (metrolopy.ummy.ummy attribute)</a>
Expand Down Expand Up @@ -783,10 +775,10 @@ <h2 id="M">M</h2>
</li>
<li><a href="metrolopy.html#module-metrolopy.nummy">metrolopy.nummy (module)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="metrolopy.html#module-metrolopy.offsetunit">metrolopy.offsetunit (module)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="metrolopy.html#module-metrolopy.pmethod">metrolopy.pmethod (module)</a>
</li>
<li><a href="metrolopy.html#module-metrolopy.prefixedunit">metrolopy.prefixedunit (module)</a>
Expand Down Expand Up @@ -1186,49 +1178,11 @@ <h2 id="T">T</h2>
<li><a href="metrolopy.html#metrolopy.functions.tanh">tanh() (in module metrolopy.functions)</a>
</li>
<li><a href="metrolopy.html#metrolopy.distributions.TDist">TDist (class in metrolopy.distributions)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_abs">test_abs() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_add">test_add() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_addxmul">test_addxmul() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_ap1sincos">test_ap1sincos() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_ap2sincos">test_ap2sincos() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_apnsincos">test_apnsincos() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_div">test_div() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_gummy_init">test_gummy_init() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_mod">test_mod() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_mul">test_mul() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_mulxnpow">test_mulxnpow() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_mulxpow">test_mulxpow() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_neg">test_neg() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_npsincos">test_npsincos() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_pos">test_pos() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_pow">test_pow() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_sincos">test_sincos() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_sub">test_sub() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.tests.html#metrolopy.tests.test_create.test_ubreakdown">test_ubreakdown() (in module metrolopy.tests.test_create)</a>
</li>
<li><a href="metrolopy.html#metrolopy.ummy.ummy.thousand_spaces">thousand_spaces (metrolopy.ummy.ummy attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="metrolopy.html#metrolopy.nonlinearunit.ReciprocalConversion.to">to() (metrolopy.nonlinearunit.ReciprocalConversion method)</a>

<ul>
Expand Down Expand Up @@ -1259,6 +1213,8 @@ <h2 id="T">T</h2>
<li><a href="metrolopy.html#metrolopy.printing.PrettyPrinter.tohtml">(metrolopy.printing.PrettyPrinter method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="metrolopy.html#metrolopy.fit.Fit.tolatex">tolatex() (metrolopy.fit.Fit method)</a>

<ul>
Expand Down Expand Up @@ -1621,7 +1577,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
13 changes: 6 additions & 7 deletions docs/_build/html/hand_made_doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>MetroloPy &#8212; metrolopy 0.5.2 documentation</title>
<title>MetroloPy &#8212; metrolopy 0.5.3 documentation</title>

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

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.5.2',
VERSION: '0.5.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -38,7 +38,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -314,11 +314,10 @@ <h2>basic gummy methods<a class="headerlink" href="#basic-gummy-methods" title="
<code class="docutils literal"><span class="pre">self</span></code> and <em>g</em>.</p>
</li>
<li><p class="first">static <strong>correlation_matrix(gummys)</strong>: Returns the correlation matrix of a
list or array of gummys. The return value is a numpy.ndarray.</p>
list or array of gummys.</p>
</li>
<li><p class="first">static <strong>covariance_matrix(gummys)</strong>: Returns the variance-covariance
matrix of a list or array of gummys. The return value is a
numpy.ndarray.</p>
matrix of a list or array of gummys.</p>
</li>
<li><p class="first"><strong>copy(formatting=True, tofloat=False)</strong>: Returns a copy of the gummy.
The copy will
Expand Down Expand Up @@ -2157,7 +2156,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
9 changes: 5 additions & 4 deletions docs/_build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>MetroloPy, the docs &#8212; metrolopy 0.5.2 documentation</title>
<title>MetroloPy, the docs &#8212; metrolopy 0.5.3 documentation</title>

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

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.5.2',
VERSION: '0.5.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -38,7 +38,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="#">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="#">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -135,6 +135,7 @@ <h2>version history<a class="headerlink" href="#version-history" title="Permalin
<li>Version 0.5.2, built 5 April 2019, fixed a major bug that propagated
uncertainty incorrectly if a gummy was created with an uncertainty set with
an integer data type. Fixed several other minor bugs.</li>
<li>Version 0.5.3, built 10 April 2019, minor bug fixes.</li>
</ul>
</div>
<div class="section" id="author">
Expand Down Expand Up @@ -203,7 +204,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="#">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="#">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
16 changes: 7 additions & 9 deletions docs/_build/html/metrolopy.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>metrolopy package &#8212; metrolopy 0.5.2 documentation</title>
<title>metrolopy package &#8212; metrolopy 0.5.3 documentation</title>

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

<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.5.2',
VERSION: '0.5.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
Expand All @@ -38,7 +38,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>

Expand Down Expand Up @@ -4932,7 +4932,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this

<dl class="attribute">
<dt id="metrolopy.ummy.GummyTag.tags">
<code class="descname">tags</code><em class="property"> = &lt;WeakValueDictionary at 0x98f3278&gt;</em><a class="headerlink" href="#metrolopy.ummy.GummyTag.tags" title="Permalink to this definition"></a></dt>
<code class="descname">tags</code><em class="property"> = &lt;WeakValueDictionary at 0xfaf6780&gt;</em><a class="headerlink" href="#metrolopy.ummy.GummyTag.tags" title="Permalink to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>
Expand Down Expand Up @@ -4985,8 +4985,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<dl class="staticmethod">
<dt id="metrolopy.ummy.ummy.correlation_matrix">
<em class="property">static </em><code class="descname">correlation_matrix</code><span class="sig-paren">(</span><em>gummys</em><span class="sig-paren">)</span><a class="headerlink" href="#metrolopy.ummy.ummy.correlation_matrix" title="Permalink to this definition"></a></dt>
<dd><p>Returns the correlation matrix of a list or array of gummys. The return
value is <cite>numpy.ndarray</cite>.</p>
<dd><p>Returns the correlation matrix of a list or array of gummys.</p>
</dd></dl>

<dl class="method">
Expand All @@ -4998,8 +4997,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this
<dl class="staticmethod">
<dt id="metrolopy.ummy.ummy.covariance_matrix">
<em class="property">static </em><code class="descname">covariance_matrix</code><span class="sig-paren">(</span><em>gummys</em><span class="sig-paren">)</span><a class="headerlink" href="#metrolopy.ummy.ummy.covariance_matrix" title="Permalink to this definition"></a></dt>
<dd><p>Returns the variance-covariance matrix of a list or array of gummys. The return
value is <cite>numpy.ndarray</cite>.</p>
<dd><p>Returns the variance-covariance matrix of a list or array of gummys.</p>
</dd></dl>

<dl class="classmethod">
Expand Down Expand Up @@ -5625,7 +5623,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.2 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">metrolopy 0.5.3 documentation</a> &#187;</li>
</ul>
</div>
<div class="footer" role="contentinfo">
Expand Down
Loading

0 comments on commit 45c6e8b

Please sign in to comment.