From a43b9486176618aee2ac2914be0248df4752d9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hadrien=20Gourl=C3=A9?= Date: Thu, 21 Nov 2019 09:42:01 +0100 Subject: [PATCH] fix for #133 --- iss/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iss/app.py b/iss/app.py index ec095f7..f836472 100644 --- a/iss/app.py +++ b/iss/app.py @@ -182,7 +182,7 @@ def generate_reads(args): with f: fasta_file = SeqIO.parse(f, 'fasta') if args.n_genomes and not args.ncbi: - n = args.n_genomes[0][0] + n = args.n_genomes else: n = None for record in util.reservoir(fasta_file, genome_list, n): @@ -390,7 +390,6 @@ def main(): '--n_genomes', '-u', type=int, - action='append', metavar='', help='How many genomes will be used for the simulation. is set with \ --genomes/-g or/and --draft to take random genomes from the \