From ef15caee29380f58aaae392c897fabe47587486e Mon Sep 17 00:00:00 2001 From: Kendell Clement Date: Wed, 10 Nov 2021 00:45:51 -0500 Subject: [PATCH] Fix int bug for n_reads in CRISPRessoPooled --- CRISPResso2/CRISPRessoPooledCORE.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CRISPResso2/CRISPRessoPooledCORE.py b/CRISPResso2/CRISPRessoPooledCORE.py index fdc59a30..0a154ade 100644 --- a/CRISPResso2/CRISPRessoPooledCORE.py +++ b/CRISPResso2/CRISPRessoPooledCORE.py @@ -768,8 +768,9 @@ def main(): n_reads_aligned_amplicons=[] crispresso_cmds = [] for idx, row in df_template.iterrows(): - n_reads_aligned_amplicons.append(get_n_reads_fastq(row['Demultiplexed_fastq.gz_filename'])) - info('\n Processing:%s with %d reads'%(idx,n_reads_aligned_amplicons)) + this_n_reads = get_n_reads_fastq(row['Demultiplexed_fastq.gz_filename']) + n_reads_aligned_amplicons.append(this_n_reads) + info('\n Processing:%s with %d reads'%(idx,this_n_reads)) this_amp_seq = row['Amplicon_Sequence'] this_amp_name_string = "" if idx in alternate_alleles: