Commit 728af51c by Celine Mercier

Python: better display of tuple values in fasta format

parent 99a397b8
......@@ -65,6 +65,8 @@ cdef class HeaderFormat:
if type(value) == Column_line:
value = value.bytes()
else:
if type(value) == tuple:
value=list(value)
value = str2bytes(str(bytes2str_object(value))) # genius programming
if value is not None:
lines.append(k + b"=" + value + b";")
......
Markdown is supported
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