summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-05-03 12:41:01 -0400
committerCalvin <calvin@EESI>2013-05-03 12:41:01 -0400
commit4dd2e6e71e95fb9f673f7a6808c14de2fcc2a7e8 (patch)
tree9616f7209de720235066cfcf872c66d8e93526a2
parent6208842318a6009308bd9abed921c6158b39f1f0 (diff)
do some very basic error checking on generate_kmers
-rwxr-xr-xsrc/python/generate_kmers3
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]))