From 5cd1290661f7acc5636ca41f16ca30a97f943e97 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Mon, 6 Apr 2015 14:51:46 -0700 Subject: [PATCH] convert non-unit-tested module to use newer raise Exception(msg) syntax --- htsworkflow/pipelines/run_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2