X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=extra%2Fucsc_encode_submission%2Fucsc_gather.py;h=ddd1fad63512c79f0ea9394931f0a381ad099579;hb=523b1686664a648f396acecc6ce0bc3778e3efdf;hp=3877379c1de838e3762f4b6ccedd2c76cd0d25f4;hpb=68da71c8242b55ee1372093dfce4b23658023003;p=htsworkflow.git diff --git a/extra/ucsc_encode_submission/ucsc_gather.py b/extra/ucsc_encode_submission/ucsc_gather.py index 3877379..ddd1fad 100755 --- 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) - 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