Skip to content

Commit

Permalink
allow long lines in rst file
Browse files Browse the repository at this point in the history
  • Loading branch information
tpillone committed Nov 7, 2024
1 parent 3bf917c commit 014201d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rules/report_generation/scripts/report_epidemiology.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
core_genome_bed = snakemake.params["core_genome_bed"]

output_file = snakemake.output[0]
output_file2 = snakemake.output[1]

'''
leaf2mlst = pandas.read_csv(snakemake.input["mlst"],
Expand Down Expand Up @@ -251,11 +252,14 @@
"""

with open(output_file2, "w") as fh:
fh.write(report_str)

with open(output_file, "w") as fh:
publish_file(
source=io.StringIO(report_str),
destination=fh,
writer_name="html",
settings_overrides={"stylesheet_path": ""},
settings_overrides={"stylesheet_path": "", "line_length_limit": 2000000000},
)

0 comments on commit 014201d

Please sign in to comment.