Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Deploying to gh-pages from @ c39f54a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Oct 25, 2023
1 parent b176b20 commit e330980
Show file tree
Hide file tree
Showing 21 changed files with 260 additions and 138 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
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: ba28ad5813a8586eec8789c32c20c890
config: 034ff11f831955c853947beb4ef0419b
tags: 645f666f9bcd5a90fca523b33c5a78b7
14 changes: 7 additions & 7 deletions _modules/biocgenerics/colnames.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>biocgenerics.colnames - biocgenerics 0.1.1 documentation</title>
<title>biocgenerics.colnames - biocgenerics 0.1.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">biocgenerics 0.1.1 documentation</div></a>
<a href="../../index.html"><div class="brand">biocgenerics 0.1.2 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">


<span class="sidebar-brand-text">biocgenerics 0.1.1 documentation</span>
<span class="sidebar-brand-text">biocgenerics 0.1.2 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -200,7 +200,7 @@ <h1>Source code for biocgenerics.colnames</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">functools</span> <span class="kn">import</span> <span class="n">singledispatch</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">List</span>

<span class="kn">from</span> <span class="nn">.utils</span> <span class="kn">import</span> <span class="n">_is_package_installed</span>
<span class="kn">from</span> <span class="nn">biocutils.package_utils</span> <span class="kn">import</span> <span class="n">is_package_installed</span>

<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;jkanche&quot;</span>
<span class="n">__copyright__</span> <span class="o">=</span> <span class="s2">&quot;jkanche&quot;</span>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1>Source code for biocgenerics.colnames</h1><div class="highlight"><pre>



<span class="k">if</span> <span class="n">_is_package_installed</span><span class="p">(</span><span class="s2">&quot;pandas&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="k">if</span> <span class="n">is_package_installed</span><span class="p">(</span><span class="s2">&quot;pandas&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">pandas</span> <span class="kn">import</span> <span class="n">DataFrame</span>

<span class="nd">@colnames</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">DataFrame</span><span class="p">)</span>
Expand Down Expand Up @@ -259,7 +259,7 @@ <h1>Source code for biocgenerics.colnames</h1><div class="highlight"><pre>



<span class="k">if</span> <span class="n">_is_package_installed</span><span class="p">(</span><span class="s2">&quot;pandas&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="k">if</span> <span class="n">is_package_installed</span><span class="p">(</span><span class="s2">&quot;pandas&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">pandas</span> <span class="kn">import</span> <span class="n">DataFrame</span>

<span class="nd">@set_colnames</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">DataFrame</span><span class="p">)</span>
Expand Down Expand Up @@ -299,7 +299,7 @@ <h1>Source code for biocgenerics.colnames</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=a58bc63e"></script>
</div><script src="../../_static/documentation_options.js?v=92734c54"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
25 changes: 16 additions & 9 deletions _modules/biocgenerics/combine.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html" /><link rel="search" title="Search" href="../../search.html" />

<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>biocgenerics.combine - biocgenerics 0.1.1 documentation</title>
<title>biocgenerics.combine - biocgenerics 0.1.2 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=36a5483c" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="../../index.html"><div class="brand">biocgenerics 0.1.1 documentation</div></a>
<a href="../../index.html"><div class="brand">biocgenerics 0.1.2 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -145,7 +145,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">


<span class="sidebar-brand-text">biocgenerics 0.1.1 documentation</span>
<span class="sidebar-brand-text">biocgenerics 0.1.2 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -200,6 +200,7 @@ <h1>Source code for biocgenerics.combine</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span> <span class="nn">functools</span> <span class="kn">import</span> <span class="n">singledispatch</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Any</span>

<span class="kn">from</span> <span class="nn">biocutils.package_utils</span> <span class="kn">import</span> <span class="n">is_package_installed</span>
<span class="kn">from</span> <span class="nn">numpy</span> <span class="kn">import</span> <span class="n">ndarray</span>

<span class="kn">from</span> <span class="nn">.combine_rows</span> <span class="kn">import</span> <span class="n">combine_rows</span>
Expand All @@ -208,7 +209,6 @@ <h1>Source code for biocgenerics.combine</h1><div class="highlight"><pre>
<span class="n">_is_1d_dense_arrays</span><span class="p">,</span>
<span class="n">_is_1d_sparse_arrays</span><span class="p">,</span>
<span class="n">_is_any_element_list</span><span class="p">,</span>
<span class="n">_is_package_installed</span><span class="p">,</span>
<span class="p">)</span>

<span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;jkanche&quot;</span>
Expand Down Expand Up @@ -250,7 +250,7 @@ <h1>Source code for biocgenerics.combine</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="n">combine_rows</span><span class="p">(</span><span class="o">*</span><span class="n">x</span><span class="p">)</span>


<span class="k">if</span> <span class="n">_is_package_installed</span><span class="p">(</span><span class="s2">&quot;scipy&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="k">if</span> <span class="n">is_package_installed</span><span class="p">(</span><span class="s2">&quot;scipy&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="kn">import</span> <span class="nn">scipy.sparse</span> <span class="k">as</span> <span class="nn">sp</span>

<span class="k">def</span> <span class="nf">_combine_sparse</span><span class="p">(</span><span class="o">*</span><span class="n">x</span><span class="p">):</span>
Expand All @@ -262,11 +262,18 @@ <h1>Source code for biocgenerics.combine</h1><div class="highlight"><pre>

<span class="k">return</span> <span class="n">combine_rows</span><span class="p">(</span><span class="o">*</span><span class="n">x</span><span class="p">)</span>

<span class="n">combine</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">sp</span><span class="o">.</span><span class="n">sparray</span><span class="p">,</span> <span class="n">_combine_sparse</span><span class="p">)</span>
<span class="n">combine</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">sp</span><span class="o">.</span><span class="n">spmatrix</span><span class="p">,</span> <span class="n">_combine_sparse</span><span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">combine</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">sp</span><span class="o">.</span><span class="n">sparray</span><span class="p">,</span> <span class="n">_combine_sparse</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
<span class="k">pass</span>

<span class="k">try</span><span class="p">:</span>
<span class="n">combine</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">sp</span><span class="o">.</span><span class="n">spmatrix</span><span class="p">,</span> <span class="n">_combine_sparse</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
<span class="k">pass</span>

<span class="k">if</span> <span class="n">_is_package_installed</span><span class="p">(</span><span class="s2">&quot;pandas&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>

<span class="k">if</span> <span class="n">is_package_installed</span><span class="p">(</span><span class="s2">&quot;pandas&quot;</span><span class="p">)</span> <span class="ow">is</span> <span class="kc">True</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">pandas</span> <span class="kn">import</span> <span class="n">DataFrame</span><span class="p">,</span> <span class="n">Series</span>

<span class="nd">@combine</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">Series</span><span class="p">)</span>
Expand Down Expand Up @@ -308,7 +315,7 @@ <h1>Source code for biocgenerics.combine</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../_static/documentation_options.js?v=a58bc63e"></script>
</div><script src="../../_static/documentation_options.js?v=92734c54"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
Loading

0 comments on commit e330980

Please sign in to comment.