projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of mus.cacr.caltech.edu:htsworkflow
[htsworkflow.git]
/
extra
/
ucsc_encode_submission
/
ucsc_gather.py
diff --git
a/extra/ucsc_encode_submission/ucsc_gather.py
b/extra/ucsc_encode_submission/ucsc_gather.py
index 3877379c1de838e3762f4b6ccedd2c76cd0d25f4..ddd1fad63512c79f0ea9394931f0a381ad099579 100755
(executable)
--- a/
extra/ucsc_encode_submission/ucsc_gather.py
+++ b/
extra/ucsc_encode_submission/ucsc_gather.py
@@
-49,8
+49,9
@@
def main(cmdline=None):
apidata = api.make_auth_from_opts(opts, parser)
model = get_model(opts.load_model)
apidata = api.make_auth_from_opts(opts, parser)
model = get_model(opts.load_model)
- mapper = DAFMapper(opts.name, opts.daf, model)
- submission_uri = get_submission_uri(opts.name)
+ if opts.name:
+ mapper = DAFMapper(opts.name, opts.daf, model)
+ submission_uri = get_submission_uri(opts.name)
if opts.library_url is not None:
mapper.library_url = opts.library_url
if opts.library_url is not None:
mapper.library_url = opts.library_url