Skip to content

Commit

Permalink
fix occurrences.get_fragment egs, forgot to update those, update chan…
Browse files Browse the repository at this point in the history
…gelog
  • Loading branch information
sckott committed Oct 19, 2016
1 parent 0c9a7ac commit d51effa
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 14 deletions.
3 changes: 2 additions & 1 deletion Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
--------------------
- Download methods much improved (#16) (#27) thanks @jlegind @stijnvanhoey @peterdesmet !
- MULTIPOLYGON now supported in `geometry` parameter (#35)
- xxx (#xx)
- Fixed docs for `occurrences.get`, and `occurrences.get_verbatim` and
demo that used occurrence keys that no longer exist in GBIF (#39)
- xxx (#xx)
- xxx (#xx)
- xxx (#xx)
Expand Down
Binary file modified docs/_build/doctrees/changelog_link.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/occurrences.doctree
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/_build/html/_modules/pygbif/occurrences/get.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ <h1>Source code for pygbif.occurrences.get</h1><div class="highlight"><pre>

<span class="sd"> from pygbif import occurrences</span>
<span class="sd"> occurrences.get_fragment(key = 1052909293)</span>
<span class="sd"> occurrences.get_fragment(key = 1052909293)</span>
<span class="sd"> occurrences.get_fragment(key = 1052909293)</span>
<span class="sd"> occurrences.get_fragment(key = 1227768771)</span>
<span class="sd"> occurrences.get_fragment(key = 1227769518)</span>
<span class="sd"> &#39;&#39;&#39;</span>
<span class="n">url</span> <span class="o">=</span> <span class="n">gbif_baseurl</span> <span class="o">+</span> <span class="s1">&#39;occurrence/&#39;</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="n">key</span><span class="p">)</span> <span class="o">+</span> <span class="s1">&#39;/fragment&#39;</span>
<span class="n">out</span> <span class="o">=</span> <span class="n">gbif_GET</span><span class="p">(</span><span class="n">url</span><span class="p">,</span> <span class="p">{},</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
Expand Down
11 changes: 6 additions & 5 deletions docs/_build/html/changelog_link.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ <h2>0.2.0 (2016-10-18)<a class="headerlink" href="#id1" title="Permalink to this
<ul class="simple">
<li>Download methods much improved (#16) (#27) thanks &#64;jlegind &#64;stijnvanhoey &#64;peterdesmet !</li>
<li>MULTIPOLYGON now supported in <cite>geometry</cite> parameter (#35)</li>
<li>xxx (#xx)</li>
<li>xxx (#xx)</li>
<li>xxx (#xx)</li>
<li>xxx (#xx)</li>
<li>xxx (#xx)</li>
<li>Fixed docs for <cite>occurrences.get</cite>, and <cite>occurrences.get_verbatim</cite> and</li>
</ul>
<p>demo that used occurrence keys that no longer exist in GBIF (#39)
- xxx (#xx)
- xxx (#xx)
- xxx (#xx)
- xxx (#xx)</p>
</div>
<div class="section" id="id2">
<h2>0.1.5.4 (2016-10-01)<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
Expand Down
Binary file modified docs/_build/html/objects.inv
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/_build/html/occurrences.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@
<p>Usage:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">pygbif</span> <span class="k">import</span> <span class="n">occurrences</span>
<span class="n">occurrences</span><span class="o">.</span><span class="n">get_fragment</span><span class="p">(</span><span class="n">key</span> <span class="o">=</span> <span class="mi">1052909293</span><span class="p">)</span>
<span class="n">occurrences</span><span class="o">.</span><span class="n">get_fragment</span><span class="p">(</span><span class="n">key</span> <span class="o">=</span> <span class="mi">1052909293</span><span class="p">)</span>
<span class="n">occurrences</span><span class="o">.</span><span class="n">get_fragment</span><span class="p">(</span><span class="n">key</span> <span class="o">=</span> <span class="mi">1052909293</span><span class="p">)</span>
<span class="n">occurrences</span><span class="o">.</span><span class="n">get_fragment</span><span class="p">(</span><span class="n">key</span> <span class="o">=</span> <span class="mi">1227768771</span><span class="p">)</span>
<span class="n">occurrences</span><span class="o">.</span><span class="n">get_fragment</span><span class="p">(</span><span class="n">key</span> <span class="o">=</span> <span class="mi">1227769518</span><span class="p">)</span>
</pre></div>
</div>
</dd></dl>
Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h1>Python Module Index</h1>
<tr>
<td></td>
<td>
<a href="species.html#module-pygbif"><code class="xref">pygbif</code></a></td><td>
<a href="occurrences.html#module-pygbif"><code class="xref">pygbif</code></a></td><td>
<em></em></td></tr>
</table>

Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pygbif/occurrences/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def get_fragment(key, **kwargs):
from pygbif import occurrences
occurrences.get_fragment(key = 1052909293)
occurrences.get_fragment(key = 1052909293)
occurrences.get_fragment(key = 1052909293)
occurrences.get_fragment(key = 1227768771)
occurrences.get_fragment(key = 1227769518)
'''
url = gbif_baseurl + 'occurrence/' + str(key) + '/fragment'
out = gbif_GET(url, {}, **kwargs)
Expand Down

0 comments on commit d51effa

Please sign in to comment.