From: Diane Trout Date: Mon, 16 Apr 2012 18:42:34 +0000 (-0700) Subject: Fix a typo and a missing .items() from the change of storing list of result directories. X-Git-Tag: v0.5.5~34 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=d2adb313fb752a2f525d7c410f935d8daffb2152 Fix a typo and a missing .items() from the change of storing list of result directories. --- diff --git a/encode_submission/ucsc_gather.py b/encode_submission/ucsc_gather.py index 1cdf011..0ed8f7e 100644 --- a/encode_submission/ucsc_gather.py +++ b/encode_submission/ucsc_gather.py @@ -56,7 +56,7 @@ def main(cmdline=None): model = get_model(opts.model, opts.db_path) mapper = None if opts.name: - mapper = UCSCSubmssion(opts.name, opts.daf, model) + mapper = UCSCSubmission(opts.name, opts.daf, model) if opts.library_url is not None: mapper.library_url = opts.library_url submission_uri = get_submission_uri(opts.name) @@ -157,7 +157,7 @@ def make_parser(): def make_all_ddfs(view_map, library_result_map, daf_name, make_condor=True, force=False): dag_fragment = [] - for lib_id, result_dir in library_result_map: + for lib_id, result_dir in library_result_map.items(): submissionNode = view_map.get_submission_node(result_dir) dag_fragment.extend( make_ddf(view_map, submissionNode, daf_name, make_condor, result_dir)