diff options
author | Calvin <calvin@EESI> | 2013-05-14 20:09:32 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-05-14 20:09:32 -0400 |
commit | 708ffeb6839f754e2834431f918cf2ee01e8eee6 (patch) | |
tree | 04c925639ff7ac141ddb232118683ce97b960e6c /src/python | |
parent | 3631a0c9d47d8ff72085bcc534bd24bfad4f73da (diff) |
fixed kmer argument bug
Diffstat (limited to 'src/python')
-rwxr-xr-x | src/python/quikr_train | 6 |
1 files changed, 3 insertions, 3 deletions
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: |