geronimp / enrichM

Toolbox for comparative genomics of MAGs
81 stars 22 forks source link

write splits characters in module path header #105

Closed minillinim closed 3 years ago

minillinim commented 4 years ago

The code to convert values to strings for use with join in the writer acts on the header string in the genome_lines array and tab-splits the header. A possible fix is to modify lone 104 in classifier.py like this:

genome_output_lines = [["Genome_name", "Module_id", "Module_name"]]

I haven't experienced a bug with a similar description of output_lines above. But I image a similar thing would be happening.

minillinim commented 4 years ago

Actually, just seen same issue with the completeness tsv. Change required on line 100 too