diff --git a/tools/scanpy/normalize.xml b/tools/scanpy/normalize.xml
index 5651bafeee6..d8c55063020 100644
--- a/tools/scanpy/normalize.xml
+++ b/tools/scanpy/normalize.xml
@@ -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
@@ -314,8 +312,6 @@ print("stats after magic:", "min=", f"{adata.obsm['X_magic'].min():.5f}", "max="
-
-