diff --git a/js/copasi.js b/js/copasi.js index c6f2d8c..5fb33fa 100644 --- a/js/copasi.js +++ b/js/copasi.js @@ -102,7 +102,7 @@ class COPASI { * @returns {object} simulation results as object */ simulateEx(startTime, endTime, numPoints) { - return this.Module.simulateEx(startTime, endTime, numPoints); + return JSON.parse(this.Module.simulateEx(startTime, endTime, numPoints)); } /**