Skip to content

Commit 1012a07

Browse files
committed
removed print bc it pollutes logs
1 parent efc7fe6 commit 1012a07

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

efaar_benchmarking/benchmarking.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -911,11 +911,10 @@ def compound_gene_benchmark(
911911
"""
912912
config = config or BenchmarkConfig()
913913
truth = truth_data if truth_data is not None else load_truth_data(benchmark_data_dir)
914-
print(f"shape of original annotations {truth.shape}")
915914
# filter truth relationships for genes & compounds in [filtered] metadata
916-
truth = truth[truth.gene_symbol.isin(map_data.metadata.perturbation) &
917-
truth.treatment.isin(map_data.metadata.perturbation)]
918-
print(f"shape of filteredgit annotations {truth.shape}")
915+
truth = truth[
916+
truth.gene_symbol.isin(map_data.metadata.perturbation) & truth.treatment.isin(map_data.metadata.perturbation)
917+
]
919918
similarities = compute_similarities(truth, map_data, pert_col, randomize=check_random)
920919

921920
thresholds = (activity_threshold, inactivity_threshold)

0 commit comments

Comments
 (0)