From 4dd2e6e71e95fb9f673f7a6808c14de2fcc2a7e8 Mon Sep 17 00:00:00 2001 From: Calvin Date: Fri, 3 May 2013 12:41:01 -0400 Subject: do some very basic error checking on generate_kmers --- src/python/generate_kmers | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/generate_kmers b/src/python/generate_kmers index b639a0e..8d5bee2 100755 --- a/src/python/generate_kmers +++ b/src/python/generate_kmers @@ -2,4 +2,7 @@ import quikr import sys +if(len(sys.argv) < 2): + print "usage: generate_kmers KMER_SIZE" + exit(1) print quikr.generate_kmers(int(sys.argv[1])) -- cgit v1.2.3