diff --git a/tools/extract/extract_GFF_Features.py b/tools/extract/extract_GFF_Features.py index dd6e0b31140..4cab13e3a95 100644 --- a/tools/extract/extract_GFF_Features.py +++ b/tools/extract/extract_GFF_Features.py @@ -19,7 +19,7 @@ def main(): inp_file, out_file, column, features = args column = int(column) except: - doc_optparse.exception() + doc_optparse.exit() if features == None: print "Column %d has no features to display. Please select another column." %(column+1) diff --git a/tools/new_operations/get_flanks.py b/tools/new_operations/get_flanks.py index 0501188d8cc..401d93a08b8 100644 --- a/tools/new_operations/get_flanks.py +++ b/tools/new_operations/get_flanks.py @@ -28,7 +28,7 @@ def main(): if strand_col_1 <= 0: strand = "+" #if strand is not defined, default it to + except: - doc_optparse.exception() + doc_optparse.exit() try: fi = open(inp_file,'r')