projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git]
/
htsworkflow
/
pipelines
/
gerald.py
diff --git
a/htsworkflow/pipelines/gerald.py
b/htsworkflow/pipelines/gerald.py
index 2eaff677e6d90c75848a24a43f4b28fad8d2beff..dd70fe262bbed816e0d0ed38c9ab793dca79281e 100644
(file)
--- a/
htsworkflow/pipelines/gerald.py
+++ b/
htsworkflow/pipelines/gerald.py
@@
-283,7
+283,7
@@
class LaneParametersGA(LaneParameters):
lanes = [x.tag.split('_')[1] for x in container.getchildren()]
try:
index = lanes.index(self._lane_id)
- except ValueError
,
e:
+ except ValueError
as
e:
return None
element = container[index]
return element.text