Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abi-software/simulationvuer",
"version": "3.0.18",
"version": "3.0.19",
"private": false,
"scripts": {
"serve": "vite serve --host --force",
Expand Down
16 changes: 11 additions & 5 deletions src/components/SimulationVuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,18 @@ export default {
*/
addExternalData(csv, voiExpression, modelParameters) {
if (!this.$refs.opencorRef?.addExternalData) {
return Promise.reject(
new Error("SimulationVuer: OpenCOR instance is not available."),
console.warn(
"SimulationVuer: addExternalData: OpenCOR instance is not available.",
);

return;
Comment thread
agarny marked this conversation as resolved.
}

return this.$refs.opencorRef.addExternalData(csv, voiExpression, modelParameters);
return this.$refs.opencorRef.addExternalData(
csv,
voiExpression,
modelParameters,
);
},
/**
* @public
Expand Down Expand Up @@ -490,9 +496,9 @@ export default {
data,
},
});

this.$emit("simulationData", event);
});

this.$emit("simulationData", event);
},
/**
* @public
Expand Down
Loading