projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea08386
)
Thrown an exception if we can't parse base calling directory.
author
Diane Trout
<diane@caltech.edu>
Wed, 16 Jan 2013 00:55:20 +0000
(16:55 -0800)
committer
Diane Trout
<diane@caltech.edu>
Wed, 16 Jan 2013 00:55:20 +0000
(16:55 -0800)
While working on making the alignment parsing optional. I made a mistake
copying some files around, that led to an unparseable base call directory.
I thought I should try to catch and report that error condition.
htsworkflow/pipelines/bustard.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/bustard.py
b/htsworkflow/pipelines/bustard.py
index b5bf7e11a925940b284e655932c4aa602b523838..99f231dd73e748a0c88b528f4489968ab20b8428 100644
(file)
--- a/
htsworkflow/pipelines/bustard.py
+++ b/
htsworkflow/pipelines/bustard.py
@@
-365,6
+365,9
@@
def bustard(pathname):
else:
b = bustard_from_ga1(pathname)
+ if not b:
+ raise RuntimeError("Unable to parse base-call directory at %s" % (pathname,))
+
return b
def bustard_from_ga1(pathname):