projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eaabe1
)
Report missing directory names to help diagnose sequence scanning problems
author
Diane Trout
<diane@caltech.edu>
Mon, 9 May 2011 21:53:17 +0000
(14:53 -0700)
committer
Diane Trout
<diane@caltech.edu>
Mon, 9 May 2011 21:53:17 +0000
(14:53 -0700)
htsworkflow/pipelines/sequences.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/sequences.py
b/htsworkflow/pipelines/sequences.py
index 84bafbfb4af38d95aa68e25083650747d0c73df4..24cf88488525844cef7ee0f4cffe9454924a8f4d 100644
(file)
--- a/
htsworkflow/pipelines/sequences.py
+++ b/
htsworkflow/pipelines/sequences.py
@@
-216,6
+216,10
@@
def scan_for_sequences(dirs):
sequences = []
for d in dirs:
logging.info("Scanning %s for sequences" % (d,))
+ if not os.path.exists(d):
+ logging.warn("Flowcell directory %s does not exist" % (d,))
+ continue
+
for path, dirname, filenames in os.walk(d):
for f in filenames:
seq = None