diff cuffdiff_wrapper.py @ 13:4597c429b6fb

Return nonzero exit code from cuffdiff_wrapper.py on error
author Jim Johnson <jj@umn.edu>
date Wed, 17 Jul 2013 07:58:39 -0500
parents 6a9bc26ab8d9
children d10befb0867a
line wrap: on
line diff
--- a/cuffdiff_wrapper.py	Sun Oct 21 18:17:51 2012 -0500
+++ b/cuffdiff_wrapper.py	Wed Jul 17 07:58:39 2013 -0500
@@ -33,7 +33,7 @@
 
 def stop_err( msg ):
     sys.stderr.write( "%s\n" % msg )
-    sys.exit()
+    sys.exit(1)
     
 # Copied from sam_to_bam.py:
 def check_seq_file( dbkey, cached_seqs_pointer_file ):