This commit is contained in:
Pieter Vander Vennet 2024-12-18 01:22:41 +01:00
parent 007dc4eb9e
commit 2be1bd8e8c

View file

@ -108,12 +108,19 @@ class Compare extends Script {
distanceBins[bin] += 1
}
fs.writeFileSync("report_diff.json", JSON.stringify({
fs.writeFileSync(
"report_diff.json",
JSON.stringify(
{
diffs,
distanceBins,
binSize,
"#binsize": "Every bin increases with this amount in meter"
}, null, " "))
"#binsize": "Every bin increases with this amount in meter",
},
null,
" "
)
)
console.log("Written report_diff.json")
}