From e39a73a02997e38a6dbf7797c5f657793e9c7059 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 22 Jun 2011 15:04:04 -0700 Subject: [PATCH] allow running ucsc_gather --fastq without specifying an analysis name or model --- extra/ucsc_encode_submission/ucsc_gather.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.30.2