From aa7969153cc1fdd588283ee718a4df8d2ccba4a5 Mon Sep 17 00:00:00 2001 From: "Frank T. Bergmann" Date: Thu, 2 May 2024 14:21:32 +0200 Subject: [PATCH] parse result. --- js/copasi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } /**