projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd850bd
)
allow running ucsc_gather --fastq without specifying an analysis name or model
author
Diane Trout
<diane@caltech.edu>
Wed, 22 Jun 2011 22:04:04 +0000
(15:04 -0700)
committer
Diane Trout
<diane@caltech.edu>
Wed, 22 Jun 2011 22:04:04 +0000
(15:04 -0700)
extra/ucsc_encode_submission/ucsc_gather.py
patch
|
blob
|
history
diff --git
a/extra/ucsc_encode_submission/ucsc_gather.py
b/extra/ucsc_encode_submission/ucsc_gather.py
index 2b9ba85b4edf202fb951c76024711eccd5d76b52..6172df70a5b11947505bede7bc5a51dc9179754d 100755
(executable)
--- 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)