Skip to content

Commit

Permalink
Relax the types when creating chains.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Mar 20, 2024
1 parent 318022e commit 05da9f4
Show file tree
Hide file tree
Showing 27 changed files with 275 additions and 275 deletions.
2 changes: 1 addition & 1 deletion docs/v0.1.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-20T15:42:11","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-20T17:50:05","documenter_version":"1.3.0"}}
4 changes: 2 additions & 2 deletions docs/v0.1.0/adapters.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ <h1 id="Adapters">
</a>.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/adapters.jl#L1-L3">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/adapters.jl#L1-L3">source
</a>
</section>
</article>
Expand Down Expand Up @@ -389,7 +389,7 @@ <h1 id="Adapters">
</a> functions to use clear generic names for their inputs and outputs, and still apply them to arbitrary data sets using more specific names. One can even invoke the same computation with different parameter values, and store the different results in the same data set under different names.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/adapters.jl#L21-L83">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/adapters.jl#L21-L83">source
</a>
</section>
</article>
Expand Down
6 changes: 3 additions & 3 deletions docs/v0.1.0/anndata_format.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ <h1 id="AnnData-Format">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/anndata_format.jl#L1-L73">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/anndata_format.jl#L1-L73">source
</a>
</section>
</article>
Expand Down Expand Up @@ -490,7 +490,7 @@ <h1 id="AnnData-Format">
</code> property, if it exists, otherwise, it will be &quot;X&quot;.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/anndata_format.jl#L94-L124">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/anndata_format.jl#L94-L124">source
</a>
</section>
</article>
Expand Down Expand Up @@ -556,7 +556,7 @@ <h1 id="AnnData-Format">
</code> object.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/anndata_format.jl#L359-L388">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/anndata_format.jl#L359-L388">source
</a>
</section>
</article>
Expand Down
14 changes: 7 additions & 7 deletions docs/v0.1.0/chains.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h1 id="Chains">
</code> data set that contains extra (or overriding) data on top of a larger read-only data set. In particular this allows creating several such incompatible extra data sets (e.g., different groupings of cells to metacells), without having to duplicate the common (read only) data.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/chains.jl#L1-L6">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/chains.jl#L1-L6">source
</a>
</section>
</article>
Expand All @@ -255,7 +255,7 @@ <h1 id="Chains">
<section>
<div>
<pre>
<code class="language-julia hljs">chain_reader(dafs::Vector{F}; name::Maybe{AbstractString} = nothing)::DafReader where {F &lt;: DafReader}
<code class="language-julia hljs">chain_reader(dafs::AbstractVector{F}; name::Maybe{AbstractString} = nothing)::DafReader where {F &lt;: DafReader}
</code>
</pre>
<p>Create a read-only chain wrapper of
Expand All @@ -281,7 +281,7 @@ <h1 id="Chains">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/chains.jl#L56-L68">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/chains.jl#L56-L68">source
</a>
</section>
</article>
Expand All @@ -299,7 +299,7 @@ <h1 id="Chains">
<section>
<div>
<pre>
<code class="language-julia hljs">chain_writer(dafs::Vector{F}; name::Maybe{AbstractString} = nothing)::DafWriter where {F &lt;: DafReader}
<code class="language-julia hljs">chain_writer(dafs::AbstractVector{F}; name::Maybe{AbstractString} = nothing)::DafWriter where {F &lt;: DafReader}
</code>
</pre>
<p>Create a chain wrapper for a chain of
Expand Down Expand Up @@ -327,7 +327,7 @@ <h1 id="Chains">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/chains.jl#L87-L98">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/chains.jl#L87-L98">source
</a>
</section>
</article>
Expand Down Expand Up @@ -361,7 +361,7 @@ <h1 id="Chains">
</a>.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/chains.jl#L24-L31">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/chains.jl#L24-L31">source
</a>
</section>
</article>
Expand Down Expand Up @@ -399,7 +399,7 @@ <h1 id="Chains">
<p>Any modifications or additions to the chain are directed at the final writer. Deletions are only allowed for data that exists only in this writer. That is, it is impossible to delete from a chain something that exists in any of the readers; it is only possible to override it.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/chains.jl#L37-L49">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/chains.jl#L37-L49">source
</a>
</section>
</article>
Expand Down
12 changes: 6 additions & 6 deletions docs/v0.1.0/computations.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h1 id="Computations">
</a> describing their inputs and outputs. This is enforced, so that the implementation need not worry about missing inputs, and the caller can rely on the results. It is also self-documenting, so the generated documentation is always contains a clear up-to-date description of the contract.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/computations.jl#L1-L6">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/computations.jl#L1-L6">source
</a>
</section>
</article>
Expand Down Expand Up @@ -349,7 +349,7 @@ <h1 id="Computations">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/computations.jl#L67-L100">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/computations.jl#L67-L100">source
</a>
</section>
</article>
Expand Down Expand Up @@ -397,7 +397,7 @@ <h1 id="Computations">
</code> ensures that the correct value is used in the documentation.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/computations.jl#L322-L343">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/computations.jl#L322-L343">source
</a>
</section>
</article>
Expand Down Expand Up @@ -457,7 +457,7 @@ <h1 id="Computations">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/computations.jl#L267-L288">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/computations.jl#L267-L288">source
</a>
</section>
</article>
Expand Down Expand Up @@ -487,7 +487,7 @@ <h1 id="Computations">
</a> with two such arguments.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/computations.jl#L291-L294">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/computations.jl#L291-L294">source
</a>
</section>
</article>
Expand Down Expand Up @@ -517,7 +517,7 @@ <h1 id="Computations">
</a> with two such arguments.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/computations.jl#L297-L300">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/computations.jl#L297-L300">source
</a>
</section>
</article>
Expand Down
8 changes: 4 additions & 4 deletions docs/v0.1.0/concat.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h1 id="Concat">
<p>The exact behavior of concatenation is surprisingly complex when accounting for sparse vs. dense matrices, different matrix layouts, and properties which are not along the concatenation axis. The implementation is further complicated by minimizing the allocation of intermediate memory buffers for the data; that is, in principle, concatenating from and into memory-mapped data sets should not allocate &quot;any&quot; memory buffers - the data should be copied directly from one memory-mapped region to another.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/concat.jl#L1-L10">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/concat.jl#L1-L10">source
</a>
</section>
</article>
Expand Down Expand Up @@ -362,7 +362,7 @@ <h1 id="Concat">
</code> existing properties in the target.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/concat.jl#L71-L132">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/concat.jl#L71-L132">source
</a>
</section>
</article>
Expand Down Expand Up @@ -436,7 +436,7 @@ <h1 id="Concat">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/concat.jl#L34-L53">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/concat.jl#L34-L53">source
</a>
</section>
</article>
Expand Down Expand Up @@ -472,7 +472,7 @@ <h1 id="Concat">
</li>
</ul>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/concat.jl#L56-L68">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/concat.jl#L56-L68">source
</a>
</section>
</article>
Expand Down
14 changes: 7 additions & 7 deletions docs/v0.1.0/contracts.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ <h1 id="Contracts">
</code> data.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L1-L3">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L1-L3">source
</a>
</section>
</article>
Expand Down Expand Up @@ -270,7 +270,7 @@ <h1 id="Contracts">
</a>.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L87-L94">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L87-L94">source
</a>
</section>
</article>
Expand Down Expand Up @@ -324,7 +324,7 @@ <h1 id="Contracts">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L41-L62">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L41-L62">source
</a>
</section>
</article>
Expand Down Expand Up @@ -382,7 +382,7 @@ <h1 id="Contracts">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L65-L84">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L65-L84">source
</a>
</section>
</article>
Expand Down Expand Up @@ -424,7 +424,7 @@ <h1 id="Contracts">
</code> - data that may exist when the computation is done, depending on some condition, which may include the existence of optional input and/or the value of parameters to the computation, and/or the content of the data.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L23-L38">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L23-L38">source
</a>
</section>
</article>
Expand All @@ -450,7 +450,7 @@ <h1 id="Contracts">
</code> data when a computation is invoked. This verifies that all the required data exists and is of the appropriate type, and that if any of the optional data exists, it has the appropriate type.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L104-L109">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L104-L109">source
</a>
</section>
</article>
Expand All @@ -476,7 +476,7 @@ <h1 id="Contracts">
</code> data when a computation is complete. This verifies that all the guaranteed output data exists and is of the appropriate type, and that if any of the optional output data exists, it has the appropriate type.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/contracts.jl#L114-L119">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/contracts.jl#L114-L119">source
</a>
</section>
</article>
Expand Down
14 changes: 7 additions & 7 deletions docs/v0.1.0/copies.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ <h1 id="Copies">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L1-L10">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L1-L10">source
</a>
</section>
</article>
Expand Down Expand Up @@ -296,7 +296,7 @@ <h1 id="Copies">
</code> (not the default), overwrite an existing scalar in the target.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L31-L45">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L31-L45">source
</a>
</section>
</article>
Expand Down Expand Up @@ -340,7 +340,7 @@ <h1 id="Copies">
</code> is specified, store the axis using this name.
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L61-L73">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L61-L73">source
</a>
</section>
</article>
Expand Down Expand Up @@ -400,7 +400,7 @@ <h1 id="Copies">
</code> must be specified to fill the missing values. If the source axis contains entries that do not exist in the target, they are discarded (not copied).
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L88-L110">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L88-L110">source
</a>
</section>
</article>
Expand Down Expand Up @@ -471,7 +471,7 @@ <h1 id="Copies">
</code> must be specified to fill the missing values. If a source axis contains entries that do not exist in the target, they are discarded (not copied).
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L169-L195">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L169-L195">source
</a>
</section>
</article>
Expand Down Expand Up @@ -523,7 +523,7 @@ <h1 id="Copies">
</code> for specifying an empty value for a matrix property. The order of the axes for matrix properties doesn&#39;t matter (the same empty value is automatically used for both axes orders).
</p>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L331-L353">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L331-L353">source
</a>
</section>
</article>
Expand Down Expand Up @@ -579,7 +579,7 @@ <h1 id="Copies">
</div>
</div>
</div>
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/23d132ab7e29cd5d1d390f7a52170ef30fa683db/src/copies.jl#L309-L328">source
<a class="docs-sourcelink" target="_blank" href="https://github.com/tanaylab/Daf.jl/blob/318022e458aa3f6125b3ee4a2194226b22d5f6b0/src/copies.jl#L309-L328">source
</a>
</section>
</article>
Expand Down
Loading

0 comments on commit 05da9f4

Please sign in to comment.