Skip to content

Commit

Permalink
Fix type issues; relayout matrices.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Mar 29, 2024
1 parent 641b8f6 commit 60e3880
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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-29T17:16:36","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-29T21:24:35","documenter_version":"1.3.0"}}
2 changes: 1 addition & 1 deletion docs/v0.1.0/anndata_format.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h1 id="AnnData-Format">
<code class="language-julia hljs">function import_h5ads!(;
destination::DafWriter,
raw_cells_h5ad::Maybe{AbstractString} = nothing,
clean_cells_h5ad::AbstractString = nothing,
clean_cells_h5ad::AbstractString,
metacells_h5ad::AbstractString,
type_property::Maybe{AbstractString} = nothing,
rename_type::Maybe{AbstractString} = &quot;type&quot;,
Expand Down
2 changes: 1 addition & 1 deletion docs/v0.1.0/search_index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/anndata_format.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ METACELLS_SQUARE_DATA = CopyData(["obs_outgoing_weights" => ("outgoing_weights",
function import_h5ads!(;
destination::DafWriter,
raw_cells_h5ad::Maybe{AbstractString} = nothing,
clean_cells_h5ad::AbstractString = nothing,
clean_cells_h5ad::AbstractString,
metacells_h5ad::AbstractString,
type_property::Maybe{AbstractString} = nothing,
rename_type::Maybe{AbstractString} = "type",
Expand Down Expand Up @@ -162,7 +162,7 @@ changes to match the ``Daf`` capabilities and conventions:
function import_h5ads!(;
destination::DafWriter,
raw_cells_h5ad::Maybe{AbstractString} = nothing,
clean_cells_h5ad::AbstractString = nothing,
clean_cells_h5ad::AbstractString,
metacells_h5ad::AbstractString,
type_property::Maybe{AbstractString} = nothing,
rename_type::Maybe{AbstractString} = "type",
Expand Down Expand Up @@ -392,7 +392,7 @@ function copy_matrices(
data = get(copy_data, matrix_name, (matrix_name, nothing))
if data != nothing
rename, empty = data
if !has_matrix(destination, rows_axis, columns_axis, rename; relayout = false)
if !has_matrix(destination, rows_axis, columns_axis, rename; relayout = true)
copy_matrix!(; # NOJET
destination = destination,
source = source,
Expand Down

0 comments on commit 60e3880

Please sign in to comment.