Skip to content

Commit

Permalink
Disable create batch simulations for NFSim.
Browse files Browse the repository at this point in the history
  • Loading branch information
danv61 committed Jun 22, 2021
1 parent c8f05ab commit 68baf13
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1156,9 +1156,11 @@ private void refreshButtonsLax() {
bEditable = true;
}

bCreateBatch = true;
Geometry geo = firstSelection.getMathDescription().getGeometry();
int dim = geo.getDimension();
if(!firstSelection.getMathDescription().isRuleBased()) {
bCreateBatch = true; // cannot use math for overriding species in rule-based models
}
if(dim == 0 && !firstSelection.getMathDescription().isRuleBased()) {
bGetResultsBatch = true;
}
Expand Down

0 comments on commit 68baf13

Please sign in to comment.