From: Diane Trout Date: Sat, 26 Sep 2009 01:35:25 +0000 (+0000) Subject: The config file should also set the SEQUENCE_FORMAT X-Git-Tag: 0.3.2~15 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=e9660e0b349abf42ba650705aa1eab6f5fc28817 The config file should also set the SEQUENCE_FORMAT (also I forgot to change a .getcode() to .code --- diff --git a/htsworkflow/pipelines/retrieve_config.py b/htsworkflow/pipelines/retrieve_config.py index 3b6ba3e..dbd3e69 100644 --- a/htsworkflow/pipelines/retrieve_config.py +++ b/htsworkflow/pipelines/retrieve_config.py @@ -49,7 +49,7 @@ def retrieve_flowcell_info(base_host_url, flowcell): contents = web.read() headers = web.info() - + if web.code == 403: msg = "403 - Forbbidden, probably need api key" raise FlowCellNotFound(msg) @@ -106,6 +106,8 @@ def format_gerald_header(flowcell_info): lane_info = flowcell_info['lane_set'][lane_number] config += ['Lane%s: %s | %s' % (lane_number, lane_info['library_id'], lane_info['library_name'])] + + config += ['SEQUENCE_FORMAT --fastq'] config += [''] return "\n# ".join(config)