From: Diane Trout Date: Wed, 22 Jun 2011 22:04:04 +0000 (-0700) Subject: allow running ucsc_gather --fastq without specifying an analysis name or model X-Git-Tag: 0.5.2~13 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=e39a73a02997e38a6dbf7797c5f657793e9c7059 allow running ucsc_gather --fastq without specifying an analysis name or model --- diff --git a/extra/ucsc_encode_submission/ucsc_gather.py b/extra/ucsc_encode_submission/ucsc_gather.py index 2b9ba85..6172df7 100755 --- a/extra/ucsc_encode_submission/ucsc_gather.py +++ b/extra/ucsc_encode_submission/ucsc_gather.py @@ -46,8 +46,10 @@ 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.load_rdf is not None: load_into_model(model, 'turtle', opts.load_rdf, submission_uri)