saving global histograms to data/histograms/global folder

This commit is contained in:
frankknoll
2023-02-12 12:42:26 +01:00
parent 0cebebfe31
commit 9aeab8956b
50794 changed files with 1559 additions and 1728 deletions

View File

@@ -1,7 +1,7 @@
class HistoDescrsProvider {
static getHistoDescrsForBatchcode(batchcode) {
return fetch(`data/histograms/${batchcode}.json`)
return fetch(`data/histograms/global/${batchcode}.json`)
.then(response => response.json())
.then(histoDescrs => {
histoDescrs.histograms.sort((histoDescr1, histoDescr2) => histoDescr1.batchcodes.length - histoDescr2.batchcodes.length);