Skip to content

Commit

Permalink
Deal with Outlier metacell name.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Mar 30, 2024
1 parent 60e3880 commit 764ff5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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-29T21:24:35","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-30T08:58:06","documenter_version":"1.3.0"}}
4 changes: 4 additions & 0 deletions src/anndata_format.jl
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ function copy_vectors(
vector = get_vector(source, axis, vector_name)
vector .+= 1
set_vector!(source, axis, vector_name, sparse_vector(vector); overwrite = true)
elseif vector_name == "metacell_name"
vector = get_vector(source, axis, vector_name)
vector = [name == "Outliers" ? "" : name for name in vector]
set_vector!(source, axis, vector_name, vector; overwrite = true)
end
copy_vector!(; # NOJET
destination = destination,
Expand Down

0 comments on commit 764ff5b

Please sign in to comment.