Skip to content

Commit 5375a04

Browse files
committed
Avoid float rounding before writing JSON
1 parent f622118 commit 5375a04

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

workflow/scripts/report/diversity_data.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@ log_info("Writing results JSON")
107107
write_json(
108108
list.div,
109109
snakemake@output[["json"]],
110-
auto_unbox = TRUE
110+
auto_unbox = TRUE,
111+
digits = NA # maximum precision
111112
)

0 commit comments

Comments
 (0)