From e6aa058ec42fb60f482788516c26e892a1b0a2be Mon Sep 17 00:00:00 2001 From: hanna Date: Sat, 6 Jun 2009 03:40:50 +0000 Subject: [PATCH] Tighten up error handling a bit. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@920 348d0f76-0448-11de-a6fe-93d51630548a --- python/RecalQual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/RecalQual.py b/python/RecalQual.py index 94334e2c7..d629bb63b 100755 --- a/python/RecalQual.py +++ b/python/RecalQual.py @@ -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'