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 distanceBins[bin] += 1
} }
fs.writeFileSync("report_diff.json", JSON.stringify({ fs.writeFileSync(
diffs, "report_diff.json",
distanceBins, JSON.stringify(
binSize, {
"#binsize": "Every bin increases with this amount in meter" diffs,
}, null, " ")) distanceBins,
binSize,
"#binsize": "Every bin increases with this amount in meter",
},
null,
" "
)
)
console.log("Written report_diff.json") console.log("Written report_diff.json")
} }