Skip to content

Commit

Permalink
Deploying to gh-pages from @ 74a730c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
frheault committed Oct 11, 2023
1 parent 2ce3089 commit afda540
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 58 deletions.
6 changes: 3 additions & 3 deletions _modules/trx/io.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@ <h1>Source code for trx.io</h1><div class="highlight"><pre>
<span class="kn">from</span> <span class="nn">trx.utils</span> <span class="kn">import</span> <span class="n">split_name_with_gz</span>


<div class="viewcode-block" id="get_trx_tmpdir">
<a class="viewcode-back" href="../../autoapi/trx/io/index.html#trx.io.get_trx_tmpdir">[docs]</a>
<span class="k">def</span> <span class="nf">get_trx_tmpdir</span><span class="p">():</span>
<div class="viewcode-block" id="get_trx_tmp_dir">
<a class="viewcode-back" href="../../autoapi/trx/io/index.html#trx.io.get_trx_tmp_dir">[docs]</a>
<span class="k">def</span> <span class="nf">get_trx_tmp_dir</span><span class="p">():</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s1">&#39;TRX_TMPDIR&#39;</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
<span class="k">if</span> <span class="n">os</span><span class="o">.</span><span class="n">getenv</span><span class="p">(</span><span class="s1">&#39;TRX_TMPDIR&#39;</span><span class="p">)</span> <span class="o">==</span> <span class="s1">&#39;use_working_dir&#39;</span><span class="p">:</span>
<span class="n">trx_tmp_dir</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getcwd</span><span class="p">()</span>
Expand Down
2 changes: 1 addition & 1 deletion _modules/trx/streamlines_ops.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ <h1>Source code for trx.streamlines_ops</h1><div class="highlight"><pre>
<a class="viewcode-back" href="../../autoapi/trx/streamlines_ops/index.html#trx.streamlines_ops.get_streamline_key">[docs]</a>
<span class="k">def</span> <span class="nf">get_streamline_key</span><span class="p">(</span><span class="n">streamline</span><span class="p">,</span> <span class="n">precision</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Produces a key using a hash from a streamline using a few points only and</span>
<span class="sd"> the desired precision </span>
<span class="sd"> the desired precision</span>

<span class="sd"> Parameters</span>
<span class="sd"> ----------</span>
Expand Down
46 changes: 21 additions & 25 deletions _modules/trx/trx_file_memmap.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _modules/trx/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ <h1>Source code for trx.utils</h1><div class="highlight"><pre>
<span class="k">elif</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">obj</span><span class="p">,</span> <span class="n">np</span><span class="o">.</span><span class="n">memmap</span><span class="p">):</span>
<span class="k">del</span> <span class="n">obj</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">logging</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="s1">&#39;Object to be close or deleted must be np.memmap&#39;</span><span class="p">)</span></div>
<span class="n">logging</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s1">&#39;Object to be close or deleted must be np.memmap&#39;</span><span class="p">)</span></div>



Expand Down Expand Up @@ -795,7 +795,7 @@ <h1>Source code for trx.utils</h1><div class="highlight"><pre>
<span class="sd"> trx : Tractogram</span>
<span class="sd"> Tractogram to verify.</span>
<span class="sd"> dict_dtype : dict</span>
<span class="sd"> Dictionary containing the dtype to verify.</span>
<span class="sd"> Dictionary containing all elements dtype to verify.</span>
<span class="sd"> Returns</span>
<span class="sd"> -------</span>
<span class="sd"> output : bool</span>
Expand Down
32 changes: 16 additions & 16 deletions _modules/trx/workflows.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _sources/autoapi/trx/io/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Functions

.. autoapisummary::

trx.io.get_trx_tmpdir
trx.io.get_trx_tmp_dir
trx.io.load_sft_with_reference
trx.io.load
trx.io.save
Expand All @@ -33,7 +33,7 @@ Attributes



.. py:function:: get_trx_tmpdir()
.. py:function:: get_trx_tmp_dir()
.. py:function:: load_sft_with_reference(filepath, reference=None, bbox_check=True)
Expand Down
2 changes: 1 addition & 1 deletion _sources/autoapi/trx/streamlines_ops/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Attributes
Produces a key using a hash from a streamline using a few points only and
the desired precision
the desired precision


:Parameters:
Expand Down
2 changes: 1 addition & 1 deletion _sources/autoapi/trx/utils/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Attributes
Tractogram to verify.

**dict_dtype** : dict
Dictionary containing the dtype to verify.
Dictionary containing all elements dtype to verify.

**Returns**
..
Expand Down
8 changes: 4 additions & 4 deletions autoapi/trx/io/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
<h3>Functions<a class="headerlink" href="#functions" title="Link to this heading">#</a></h3>
<table class="autosummary longtable table autosummary">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="#trx.io.get_trx_tmpdir" title="trx.io.get_trx_tmpdir"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_trx_tmpdir</span></code></a>()</p></td>
<tr class="row-odd"><td><p><a class="reference internal" href="#trx.io.get_trx_tmp_dir" title="trx.io.get_trx_tmp_dir"><code class="xref py py-obj docutils literal notranslate"><span class="pre">get_trx_tmp_dir</span></code></a>()</p></td>
<td><p></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="#trx.io.load_sft_with_reference" title="trx.io.load_sft_with_reference"><code class="xref py py-obj docutils literal notranslate"><span class="pre">load_sft_with_reference</span></code></a>(filepath[, reference, bbox_check])</p></td>
Expand Down Expand Up @@ -402,8 +402,8 @@ <h3>Attributes<a class="headerlink" href="#attributes" title="Link to this headi
<dd></dd></dl>

<dl class="py function">
<dt class="sig sig-object py" id="trx.io.get_trx_tmpdir">
<span class="sig-prename descclassname"><span class="pre">trx.io.</span></span><span class="sig-name descname"><span class="pre">get_trx_tmpdir</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../../../_modules/trx/io.html#get_trx_tmpdir"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#trx.io.get_trx_tmpdir" title="Link to this definition">#</a></dt>
<dt class="sig sig-object py" id="trx.io.get_trx_tmp_dir">
<span class="sig-prename descclassname"><span class="pre">trx.io.</span></span><span class="sig-name descname"><span class="pre">get_trx_tmp_dir</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../../../_modules/trx/io.html#get_trx_tmp_dir"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#trx.io.get_trx_tmp_dir" title="Link to this definition">#</a></dt>
<dd></dd></dl>

<dl class="py function">
Expand Down Expand Up @@ -472,7 +472,7 @@ <h3>Attributes<a class="headerlink" href="#attributes" title="Link to this headi
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#functions">Functions</a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#attributes">Attributes</a><ul class="nav section-nav flex-column">
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#trx.io.dipy_available"><code class="docutils literal notranslate"><span class="pre">dipy_available</span></code></a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#trx.io.get_trx_tmpdir"><code class="docutils literal notranslate"><span class="pre">get_trx_tmpdir()</span></code></a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#trx.io.get_trx_tmp_dir"><code class="docutils literal notranslate"><span class="pre">get_trx_tmp_dir()</span></code></a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#trx.io.load_sft_with_reference"><code class="docutils literal notranslate"><span class="pre">load_sft_with_reference()</span></code></a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#trx.io.load"><code class="docutils literal notranslate"><span class="pre">load()</span></code></a></li>
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#trx.io.save"><code class="docutils literal notranslate"><span class="pre">save()</span></code></a></li>
Expand Down
2 changes: 1 addition & 1 deletion autoapi/trx/utils/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ <h3>Attributes<a class="headerlink" href="#attributes" title="Link to this headi
<dd class="field-odd"><dl class="simple">
<dt><strong>trx</strong><span class="classifier">Tractogram</span></dt><dd><p>Tractogram to verify.</p>
</dd>
<dt><strong>dict_dtype</strong><span class="classifier">dict</span></dt><dd><p>Dictionary containing the dtype to verify.</p>
<dt><strong>dict_dtype</strong><span class="classifier">dict</span></dt><dd><p>Dictionary containing all elements dtype to verify.</p>
</dd>
<dt><strong>Returns</strong></dt><dd></dd>
<dt><strong>——-</strong></dt><dd></dd>
Expand Down
2 changes: 1 addition & 1 deletion genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ <h2 id="G">G</h2>
</li>
<li><a href="autoapi/trx/fetcher/index.html#trx.fetcher.get_testing_files_dict">get_testing_files_dict() (in module trx.fetcher)</a>
</li>
<li><a href="autoapi/trx/io/index.html#trx.io.get_trx_tmpdir">get_trx_tmpdir() (in module trx.io)</a>
<li><a href="autoapi/trx/io/index.html#trx.io.get_trx_tmp_dir">get_trx_tmp_dir() (in module trx.io)</a>
</li>
<li><a href="autoapi/trx/trx_file_memmap/index.html#trx.trx_file_memmap.TrxFile.groups">groups (trx.trx_file_memmap.TrxFile attribute)</a>
</li>
Expand Down
Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit afda540

Please sign in to comment.