projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
provide an error message if no run is found with the --use-run option
[htsworkflow.git]
/
scripts
/
runfolder
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:
# 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:
# scan runfolders for runs
for run_pattern in args: