We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e648f9 commit 8edc5d6Copy full SHA for 8edc5d6
modules/umap.nf
@@ -34,7 +34,6 @@ process umaps_of_rbh_matrix {
34
import numpy as np
35
from umap import UMAP
36
37
-
38
figsave = figsaver(format="pdf", output_dir=".")
39
40
rbh_m = pd.read_csv("${matrix}", sep="\\t", index_col=0)
@@ -57,8 +56,8 @@ process umaps_of_rbh_matrix {
57
56
columns=["UMAP 1", "UMAP 2"],
58
)
59
60
- assert rbh_m["target_is_human"].any(), "No human targets present"
61
- assert rbh_m["target_is_bacteria"].any(), "No bacterial targets present"
+ assert rbh_m.index.get_level_values("target_is_human").values.any(), "No human targets present"
+ assert rbh_m.index.get_level_values("target_is_bacteria").values.any(), "No bacterial targets present"
62
63
target_weights_human = (
64
rbh_m
0 commit comments