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:
hanna 2009-06-06 03:40:50 +00:00
parent ac5b7dd453
commit e6aa058ec4
1 changed files with 1 additions and 1 deletions

View File

@ -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'