Skip to content

Commit d97b26f

Browse files
committed
Deploying to gh-pages from @ ce04265 🚀
1 parent d3bad7c commit d97b26f

26 files changed

+138
-97
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: e1e186e720d5d90d64b682113be6e5f6
3+
config: dde748fcffadcc839181637559f635ad
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

_modules/compressed_lists/base.html

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html"><link rel="search" title="Search" href="../../search.html">
66

77
<!-- Generated with Sphinx 8.2.3 and Furo 2025.12.19 -->
8-
<title>compressed_lists.base - compressed-lists 0.4.0 documentation</title>
8+
<title>compressed_lists.base - compressed-lists 0.4.1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=7bdb33bb" />
1111
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
@@ -161,7 +161,7 @@
161161
</label>
162162
</div>
163163
<div class="header-center">
164-
<a href="../../index.html"><div class="brand">compressed-lists 0.4.0 documentation</div></a>
164+
<a href="../../index.html"><div class="brand">compressed-lists 0.4.1 documentation</div></a>
165165
</div>
166166
<div class="header-right">
167167
<div class="theme-toggle-container theme-toggle-header">
@@ -182,7 +182,7 @@
182182

183183
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
184184

185-
<span class="sidebar-brand-text">compressed-lists 0.4.0 documentation</span>
185+
<span class="sidebar-brand-text">compressed-lists 0.4.1 documentation</span>
186186

187187
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
188188
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
@@ -676,11 +676,14 @@ <h1>Source code for compressed_lists.base</h1><div class="highlight"><pre>
676676

677677
<span class="n">current_class_const</span> <span class="o">=</span> <span class="nb">type</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>
678678
<span class="k">return</span> <span class="n">current_class_const</span><span class="o">.</span><span class="n">from_list</span><span class="p">(</span>
679-
<span class="n">result</span><span class="p">,</span> <span class="n">names</span><span class="o">=</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">names</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">indices</span><span class="p">]</span> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">names</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
679+
<span class="n">result</span><span class="p">,</span> <span class="n">names</span><span class="o">=</span><span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">names</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="n">indices</span><span class="p">]</span> <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">names</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="k">else</span> <span class="kc">None</span>
680680
<span class="p">)</span>
681681

682682
<span class="k">else</span><span class="p">:</span>
683-
<span class="k">raise</span> <span class="ne">TypeError</span><span class="p">(</span><span class="s2">&quot;&#39;key&#39; must be int, str, or slice.&quot;</span><span class="p">)</span></div>
683+
<span class="k">try</span><span class="p">:</span>
684+
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">extract_subset</span><span class="p">(</span><span class="n">indices</span><span class="o">=</span><span class="n">key</span><span class="p">)</span>
685+
<span class="k">except</span> <span class="ne">Exception</span> <span class="k">as</span> <span class="n">e</span><span class="p">:</span>
686+
<span class="k">raise</span> <span class="ne">TypeError</span><span class="p">(</span><span class="s2">&quot;&#39;key&#39; must be int, str, slice or list of indices.&quot;</span><span class="p">)</span> <span class="kn">from</span><span class="w"> </span><span class="nn">e</span></div>
684687

685688

686689
<span class="c1">##################################</span>
@@ -888,6 +891,25 @@ <h1>Source code for compressed_lists.base</h1><div class="highlight"><pre>
888891

889892
<span class="n">current_class_const</span> <span class="o">=</span> <span class="nb">type</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>
890893
<span class="k">return</span> <span class="n">current_class_const</span><span class="o">.</span><span class="n">from_list</span><span class="p">(</span><span class="n">result</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">names</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">_metadata</span><span class="p">)</span></div>
894+
895+
896+
<div class="viewcode-block" id="CompressedList.empty">
897+
<a class="viewcode-back" href="../../api/compressed_lists.html#compressed_lists.base.CompressedList.empty">[docs]</a>
898+
<span class="nd">@classmethod</span>
899+
<span class="k">def</span><span class="w"> </span><span class="nf">empty</span><span class="p">(</span><span class="bp">cls</span><span class="p">,</span> <span class="n">n</span><span class="p">:</span> <span class="nb">int</span><span class="p">):</span>
900+
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Create an zero-length `CompressedGenomicRangesList` object.</span>
901+
902+
<span class="sd"> Args:</span>
903+
<span class="sd"> n:</span>
904+
<span class="sd"> Number of elements.</span>
905+
906+
<span class="sd"> Returns:</span>
907+
<span class="sd"> same type as caller, in this case a `CompressedGenomicRangesList`.</span>
908+
<span class="sd"> &quot;&quot;&quot;</span>
909+
910+
<span class="n">_range_lengths</span> <span class="o">=</span> <span class="p">[</span><span class="mi">0</span><span class="p">]</span> <span class="o">*</span> <span class="n">n</span>
911+
912+
<span class="k">return</span> <span class="n">CompressedList</span><span class="p">(</span><span class="n">unlist_data</span><span class="o">=</span><span class="p">[],</span> <span class="n">partitioning</span><span class="o">=</span><span class="n">Partitioning</span><span class="p">(</span><span class="n">ends</span><span class="o">=</span><span class="n">_range_lengths</span><span class="p">))</span></div>
891913
</div>
892914

893915
</pre></div>
@@ -922,7 +944,7 @@ <h1>Source code for compressed_lists.base</h1><div class="highlight"><pre>
922944

923945
</aside>
924946
</div>
925-
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
947+
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
926948
<script src="../../_static/doctools.js?v=9bcbadda"></script>
927949
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
928950
<script src="../../_static/scripts/furo.js?v=46bd48cc"></script>

_modules/compressed_lists/biocframe_list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html"><link rel="search" title="Search" href="../../search.html">
66

77
<!-- Generated with Sphinx 8.2.3 and Furo 2025.12.19 -->
8-
<title>compressed_lists.biocframe_list - compressed-lists 0.4.0 documentation</title>
8+
<title>compressed_lists.biocframe_list - compressed-lists 0.4.1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=7bdb33bb" />
1111
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
@@ -161,7 +161,7 @@
161161
</label>
162162
</div>
163163
<div class="header-center">
164-
<a href="../../index.html"><div class="brand">compressed-lists 0.4.0 documentation</div></a>
164+
<a href="../../index.html"><div class="brand">compressed-lists 0.4.1 documentation</div></a>
165165
</div>
166166
<div class="header-right">
167167
<div class="theme-toggle-container theme-toggle-header">
@@ -182,7 +182,7 @@
182182

183183
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
184184

185-
<span class="sidebar-brand-text">compressed-lists 0.4.0 documentation</span>
185+
<span class="sidebar-brand-text">compressed-lists 0.4.1 documentation</span>
186186

187187
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
188188
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
@@ -467,7 +467,7 @@ <h1>Source code for compressed_lists.biocframe_list</h1><div class="highlight"><
467467

468468
</aside>
469469
</div>
470-
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
470+
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
471471
<script src="../../_static/doctools.js?v=9bcbadda"></script>
472472
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
473473
<script src="../../_static/scripts/furo.js?v=46bd48cc"></script>

_modules/compressed_lists/bool_list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html"><link rel="search" title="Search" href="../../search.html">
66

77
<!-- Generated with Sphinx 8.2.3 and Furo 2025.12.19 -->
8-
<title>compressed_lists.bool_list - compressed-lists 0.4.0 documentation</title>
8+
<title>compressed_lists.bool_list - compressed-lists 0.4.1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=7bdb33bb" />
1111
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
@@ -161,7 +161,7 @@
161161
</label>
162162
</div>
163163
<div class="header-center">
164-
<a href="../../index.html"><div class="brand">compressed-lists 0.4.0 documentation</div></a>
164+
<a href="../../index.html"><div class="brand">compressed-lists 0.4.1 documentation</div></a>
165165
</div>
166166
<div class="header-right">
167167
<div class="theme-toggle-container theme-toggle-header">
@@ -182,7 +182,7 @@
182182

183183
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
184184

185-
<span class="sidebar-brand-text">compressed-lists 0.4.0 documentation</span>
185+
<span class="sidebar-brand-text">compressed-lists 0.4.1 documentation</span>
186186

187187
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
188188
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
@@ -346,7 +346,7 @@ <h1>Source code for compressed_lists.bool_list</h1><div class="highlight"><pre>
346346

347347
</aside>
348348
</div>
349-
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
349+
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
350350
<script src="../../_static/doctools.js?v=9bcbadda"></script>
351351
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
352352
<script src="../../_static/scripts/furo.js?v=46bd48cc"></script>

_modules/compressed_lists/float_list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html"><link rel="search" title="Search" href="../../search.html">
66

77
<!-- Generated with Sphinx 8.2.3 and Furo 2025.12.19 -->
8-
<title>compressed_lists.float_list - compressed-lists 0.4.0 documentation</title>
8+
<title>compressed_lists.float_list - compressed-lists 0.4.1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=7bdb33bb" />
1111
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
@@ -161,7 +161,7 @@
161161
</label>
162162
</div>
163163
<div class="header-center">
164-
<a href="../../index.html"><div class="brand">compressed-lists 0.4.0 documentation</div></a>
164+
<a href="../../index.html"><div class="brand">compressed-lists 0.4.1 documentation</div></a>
165165
</div>
166166
<div class="header-right">
167167
<div class="theme-toggle-container theme-toggle-header">
@@ -182,7 +182,7 @@
182182

183183
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
184184

185-
<span class="sidebar-brand-text">compressed-lists 0.4.0 documentation</span>
185+
<span class="sidebar-brand-text">compressed-lists 0.4.1 documentation</span>
186186

187187
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
188188
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
@@ -346,7 +346,7 @@ <h1>Source code for compressed_lists.float_list</h1><div class="highlight"><pre>
346346

347347
</aside>
348348
</div>
349-
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
349+
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
350350
<script src="../../_static/doctools.js?v=9bcbadda"></script>
351351
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
352352
<script src="../../_static/scripts/furo.js?v=46bd48cc"></script>

_modules/compressed_lists/integer_list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html"><link rel="search" title="Search" href="../../search.html">
66

77
<!-- Generated with Sphinx 8.2.3 and Furo 2025.12.19 -->
8-
<title>compressed_lists.integer_list - compressed-lists 0.4.0 documentation</title>
8+
<title>compressed_lists.integer_list - compressed-lists 0.4.1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=7bdb33bb" />
1111
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
@@ -161,7 +161,7 @@
161161
</label>
162162
</div>
163163
<div class="header-center">
164-
<a href="../../index.html"><div class="brand">compressed-lists 0.4.0 documentation</div></a>
164+
<a href="../../index.html"><div class="brand">compressed-lists 0.4.1 documentation</div></a>
165165
</div>
166166
<div class="header-right">
167167
<div class="theme-toggle-container theme-toggle-header">
@@ -182,7 +182,7 @@
182182

183183
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
184184

185-
<span class="sidebar-brand-text">compressed-lists 0.4.0 documentation</span>
185+
<span class="sidebar-brand-text">compressed-lists 0.4.1 documentation</span>
186186

187187
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
188188
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
@@ -346,7 +346,7 @@ <h1>Source code for compressed_lists.integer_list</h1><div class="highlight"><pr
346346

347347
</aside>
348348
</div>
349-
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
349+
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
350350
<script src="../../_static/doctools.js?v=9bcbadda"></script>
351351
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
352352
<script src="../../_static/scripts/furo.js?v=46bd48cc"></script>

_modules/compressed_lists/numpy_list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../genindex.html"><link rel="search" title="Search" href="../../search.html">
66

77
<!-- Generated with Sphinx 8.2.3 and Furo 2025.12.19 -->
8-
<title>compressed_lists.numpy_list - compressed-lists 0.4.0 documentation</title>
8+
<title>compressed_lists.numpy_list - compressed-lists 0.4.1 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=7bdb33bb" />
1111
<link rel="stylesheet" type="text/css" href="../../_static/mystnb.8ecb98da25f57f5357bf6f572d296f466b2cfe2517ffebfabe82451661e28f02.css" />
@@ -161,7 +161,7 @@
161161
</label>
162162
</div>
163163
<div class="header-center">
164-
<a href="../../index.html"><div class="brand">compressed-lists 0.4.0 documentation</div></a>
164+
<a href="../../index.html"><div class="brand">compressed-lists 0.4.1 documentation</div></a>
165165
</div>
166166
<div class="header-right">
167167
<div class="theme-toggle-container theme-toggle-header">
@@ -182,7 +182,7 @@
182182

183183
<div class="sidebar-sticky"><a class="sidebar-brand" href="../../index.html">
184184

185-
<span class="sidebar-brand-text">compressed-lists 0.4.0 documentation</span>
185+
<span class="sidebar-brand-text">compressed-lists 0.4.1 documentation</span>
186186

187187
</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
188188
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
@@ -387,7 +387,7 @@ <h1>Source code for compressed_lists.numpy_list</h1><div class="highlight"><pre>
387387

388388
</aside>
389389
</div>
390-
</div><script src="../../_static/documentation_options.js?v=6c02275b"></script>
390+
</div><script src="../../_static/documentation_options.js?v=c87aa342"></script>
391391
<script src="../../_static/doctools.js?v=9bcbadda"></script>
392392
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
393393
<script src="../../_static/scripts/furo.js?v=46bd48cc"></script>

0 commit comments

Comments
 (0)