(also I forgot to change a .getcode() to .code
contents = web.read()
headers = web.info()
contents = web.read()
headers = web.info()
if web.code == 403:
msg = "403 - Forbbidden, probably need api key"
raise FlowCellNotFound(msg)
if web.code == 403:
msg = "403 - Forbbidden, probably need api key"
raise FlowCellNotFound(msg)
lane_info = flowcell_info['lane_set'][lane_number]
config += ['Lane%s: %s | %s' % (lane_number, lane_info['library_id'],
lane_info['library_name'])]
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)
config += ['']
return "\n# ".join(config)