From 708ffeb6839f754e2834431f918cf2ee01e8eee6 Mon Sep 17 00:00:00 2001 From: Calvin Date: Tue, 14 May 2013 20:09:32 -0400 Subject: fixed kmer argument bug --- src/python/quikr_train | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/python/quikr_train') diff --git a/src/python/quikr_train b/src/python/quikr_train index 3096d14..5a8ec69 100755 --- a/src/python/quikr_train +++ b/src/python/quikr_train @@ -32,14 +32,14 @@ def main(): if not os.path.isfile(args.input): parser.error( "Input database not found") - # call the quikr train function, save the output with np.save - matrix = quikr.train_matrix(args.input, args.kmer) - if args.kmer is None: kmer = 6 else: kmer = args.kmer + # call the quikr train function, save the output with np.save + matrix = quikr.train_matrix(args.input, kmer) + if args.compress: output_file = gzip.open(args.output, "wb") else: -- cgit v1.2.3