Tighten up error handling a bit.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@920 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
ac5b7dd453
commit
e6aa058ec4
|
|
@ -40,7 +40,7 @@ def graph_file(graph_script,graph_data):
|
|||
check_input_file_available(graph_data,'%s graphing data' % graph_data)
|
||||
result = os.system(' '.join((R_exe,graph_script,graph_data)))
|
||||
if result != 0:
|
||||
exit('Unable to graph data: %s' % filename)
|
||||
exit('Unable to graph data: %s' % graph_data,1)
|
||||
|
||||
def recalibrate():
|
||||
'Recalibrate the given bam file'
|
||||
|
|
|
|||
Loading…
Reference in New Issue