tseemann / nullarbor

:floppy_disk: :page_with_curl: "Reads to report" for public health and clinical microbiology
GNU General Public License v2.0
136 stars 37 forks source link

Resistome .csv download has HTML entities in it #74

Open tseemann opened 8 years ago

andersgs commented 8 years ago

The same is true for mlst.csv. But, I am handling it in my nullarbor_translate. Let me know if you change it, as it will break my code --- although, easily fixed.

tseemann commented 7 years ago

What is nullarbor_translate doing?

tseemann commented 6 years ago

@andersgs WARNING: i am now removing the final quality column from all tables. (It's a hack...)

  my $nuke_last_col = $matrix->[0][-1] eq 'Quality';  # remove the Quality column from CSV
  for my $row (@$matrix) {
    pop(@$row) if $nuke_last_col;

See 3710b624bb4f6d19dbc58dede6d245e3e0a56f5f

Still working on how to handle resistome.

tseemann commented 6 years ago

WHoops, this removes it from the tables as well. Reverting for now. It needs to be put as a parameter to $self->matrix_to_csv($matrix)