Skip to content

Commit

Permalink
update magic test
Browse files Browse the repository at this point in the history
  • Loading branch information
nilchia committed Sep 7, 2024
1 parent b5cc8f1 commit 7b4559d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/scanpy/normalize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ sc.external.pp.magic(
#if str($method.name_list) == 'all_genes':
print("stats after magic:", "min=", f"{adata.X.min():.5f}", "max=", f"{adata.X.max():.5f}", "mean=", f"{adata.X.mean():.5f}")
#else
print("stats after magic:", "min=", f"{adata.obsm['X_magic'].min():.5f}", "max=", f"{adata.obsm['X_magic'].max():.5f}", "mean=", f"{adata.obsm['X_magic'].mean():.5f}")
#end if
#end if
Expand Down Expand Up @@ -314,8 +312,6 @@ print("stats after magic:", "min=", f"{adata.obsm['X_magic'].min():.5f}", "max="
<has_text_matching expression="name_list='pca_only'"/>
<has_text_matching expression="t=3"/>
<has_text_matching expression="n_pca=5"/>
<has_text_matching expression="stats before magic: min= -0.01630 max= 1.01060 mean= 0.28644"/>
<has_text_matching expression="stats after magic: min= -1.06662 max= 1.42102 mean= 0.00000"/>
</assert_contents>
</output>
<output name="anndata_out" ftype="h5ad">
Expand Down

0 comments on commit 7b4559d

Please sign in to comment.