Skip to content

Commit

Permalink
fix for #133
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG committed Nov 21, 2019
1 parent dac760e commit 0e70791
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions iss/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -390,7 +390,6 @@ def main():
'--n_genomes',
'-u',
type=int,
action='append',
metavar='<int>',
help='How many genomes will be used for the simulation. is set with \
--genomes/-g or/and --draft to take random genomes from the \
Expand Down

0 comments on commit 0e70791

Please sign in to comment.