Skip to content
Snippets Groups Projects
Commit 8701a22f authored by Blaise Li's avatar Blaise Li
Browse files

Wrong string type.

parent b7c628aa
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ with NamedTemporaryFile() as fastq, NamedTemporaryFile() as rates_record:
(best_rate, best_settings) = max(
(float(rate), settings)
for (rate, settings)
in map(str.split, rates_record))
in map(bytes.split, rates_record))
with open(snakemake.output.mapping_params, "w") as fh:
fh.write(f"{best_params}\t({best_rate}%%)\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment