diff --git a/v1/src/services/distributionCurves.service.js b/v1/src/services/distributionCurves.service.js index 9694f05..8ee5b17 100644 --- a/v1/src/services/distributionCurves.service.js +++ b/v1/src/services/distributionCurves.service.js @@ -107,7 +107,7 @@ const calculateDistributionCurves = async ( sortRes[0].chiSquareTestResult.expected; Sources[source][chart].ungenerated = rawData.slice( 0, - rawData.length - 2 // TODO: fix this shit + rawData.length - 1 // TODO: fix this shit ); } }