From: Diane Trout Date: Mon, 6 Apr 2015 21:51:46 +0000 (-0700) Subject: convert non-unit-tested module to use newer raise Exception(msg) syntax X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=5cd1290661f7acc5636ca41f16ca30a97f943e97 convert non-unit-tested module to use newer raise Exception(msg) syntax --- diff --git a/htsworkflow/pipelines/run_status.py b/htsworkflow/pipelines/run_status.py index 46e4007..86a6d13 100644 --- a/htsworkflow/pipelines/run_status.py +++ b/htsworkflow/pipelines/run_status.py @@ -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: