Skip to content

Commit

Permalink
final simulation engine optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Broseten committed May 24, 2017
1 parent 275d41e commit 2775b6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public Void call() throws Exception {
//TODO fix drawing and remove this condition
boolean octaveAvailable = false;
try {
//Checking if octave is available on this machine
//Checking if octave is available on this machine to analyze the plot
Process p = Runtime.getRuntime().exec(new String[]{"octave", "--version"});
p.waitFor();
if (p.exitValue() == 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,16 @@ public class SimpleOdeSystem implements OdeSystem {
*/
@Deprecated
public SimpleOdeSystem(Collection<OdeSystemVariable> variables, Collection<VariableValue> initialVariableValues, Collection<ParameterValue> parameterValues) {
//TODO Vojta - notUrgent - Safely remove this constructor
this(variables, initialVariableValues, parameterValues, null);
}

/**
* Default constructor, which allows creation of ODESystem with original SBML model.
* @param variables
* @param initialVariableValues
* @param parameterValues
* @param originalModel original SBML model
*/
public SimpleOdeSystem(Collection<OdeSystemVariable> variables, Collection<VariableValue> initialVariableValues, Collection<ParameterValue> parameterValues, Model originalModel) {
this.originalModel = originalModel;
if (variables == null) {
Expand Down

0 comments on commit 2775b6f

Please sign in to comment.