diff options
author | Calvin <calvin@EESI> | 2013-05-03 12:41:01 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-05-03 12:41:01 -0400 |
commit | 4dd2e6e71e95fb9f673f7a6808c14de2fcc2a7e8 (patch) | |
tree | 9616f7209de720235066cfcf872c66d8e93526a2 | |
parent | 6208842318a6009308bd9abed921c6158b39f1f0 (diff) |
do some very basic error checking on generate_kmers
-rwxr-xr-x | src/python/generate_kmers | 3 |
1 files changed, 3 insertions, 0 deletions
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])) |