projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a helpful error message when we need the submission name but it wasn't provided
[htsworkflow.git]
/
encode_submission
/
geo_gather.py
diff --git
a/encode_submission/geo_gather.py
b/encode_submission/geo_gather.py
index 5d6bf1142f193c3c88a566270ed6579b4f58273c..c67edefc7d45d0e95e7a798dd015a31befbbbac2 100644
(file)
--- a/
encode_submission/geo_gather.py
+++ b/
encode_submission/geo_gather.py
@@
-84,6
+84,8
@@
def main(cmdline=None):
extractor.create_scripts(results)
if opts.scan_submission:
+ if opts.name is None:
+ parser.error("Please define a submission name")
mapper.scan_submission_dirs(results)
if opts.make_soft: