convert non-unit-tested module to use newer raise Exception(msg) syntax
authorDiane Trout <diane@ghic.org>
Mon, 6 Apr 2015 21:51:46 +0000 (14:51 -0700)
committerDiane Trout <diane@ghic.org>
Mon, 6 Apr 2015 21:51:46 +0000 (14:51 -0700)
htsworkflow/pipelines/run_status.py

index 46e400726fd3342578c839c8772e65e509cdbc01..86a6d13cb2bac9e4355ebf7074dd516d97c79fdb 100644 (file)
@@ -80,7 +80,7 @@ def _p2f(pattern, lane, tile=None, cycle=None):
   # lane, and cycle provided (INVALID)
   if tile is None and cycle is not None:
     msg = "Handling of cycle without tile is not currently implemented."
-    raise ValueError, msg
+    raise ValueError(msg)
 
   # lane, tile, cycle provided
   elif cycle: