Skip to content

Commit

Permalink
parse result.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed May 2, 2024
1 parent c072d82 commit aa79691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/copasi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down

0 comments on commit aa79691

Please sign in to comment.