Commit 4fd9d2d1 authored by Mikaël Salson's avatar Mikaël Salson
Browse files Make sure we always have a sample_name

This is used in the cloneDB.cgi to ensure unicity in a same sample
parent 38cded99
......@@ -192,7 +192,9 @@ def write_fuse_to_fasta(data, outfile, used_names, current_filename, options, me
if len(options.sample_name) > 0:
sample_name = eval(options.sample_name)
additional_header_info.append('sample_name=%s' % sample_name)
sample_name = current_filename
additional_header_info.append('sample_name=%s' % sample_name)
if len(metadata) > 0:
additional_header_info.append(metadata.replace(' ', spacer))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment