projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52313af
)
provide an error message if no run is found with the --use-run option
author
Diane Trout
<diane@caltech.edu>
Tue, 31 Mar 2009 01:28:14 +0000
(
01:28
+0000)
committer
Diane Trout
<diane@caltech.edu>
Tue, 31 Mar 2009 01:28:14 +0000
(
01:28
+0000)
scripts/runfolder
patch
|
blob
|
history
diff --git
a/scripts/runfolder
b/scripts/runfolder
index dcdaebefa1b64bd3cb174191bdfa11240cc22a52..628050e704b342a0c7d70fea4fdedddda6e23110 100644
(file)
--- a/
scripts/runfolder
+++ b/
scripts/runfolder
@@
-93,7
+93,11
@@
def main(cmdlist=None):
# look for manually specified run
if opt.use_run is not None:
- runs.append(runfolder.get_specific_run(opt.use_run))
+ specific_run = runfolder.get_specific_run(opt.use_run)
+ if specific_run is not None:
+ runs.append(specific_run)
+ else:
+ logging.warn("Couldn't find a run in %s" % (opt.use_run,))
# scan runfolders for runs
for run_pattern in args: