mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Changed tool initialization error handling (from stack traceback to simple error message.)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user