From 45534ecd40a2363b98767fec4401d09e58c1e15f Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Tue, 20 Aug 2024 23:21:48 +0200 Subject: [PATCH] fix test --- src/bd_rhapsody/bd_rhapsody_sequence_analysis/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bd_rhapsody/bd_rhapsody_sequence_analysis/test.py b/src/bd_rhapsody/bd_rhapsody_sequence_analysis/test.py index 6b8be319..c21814df 100644 --- a/src/bd_rhapsody/bd_rhapsody_sequence_analysis/test.py +++ b/src/bd_rhapsody/bd_rhapsody_sequence_analysis/test.py @@ -470,7 +470,7 @@ def generate_bd_smk_fastq_files( # check prot data data_prot = data.mod["prot"] -assert data_prot.n_vars == bdabseq_panel_fa.n_seqs, "Number of proteins is incorrect" +assert data_prot.n_vars == len(sampletagsequences_fasta_dict), "Number of proteins is incorrect" assert data_prot.X.sum(axis=1).min() > 950, "Number of reads per cell is incorrect" assert data_prot.var.Raw_Reads.sum() == 100000, "Number of reads is incorrect"