Skip to content

Commit

Permalink
Fixes disapearing parameters when switching between Tree priors
Browse files Browse the repository at this point in the history
  • Loading branch information
jugne committed Sep 25, 2024
1 parent 6d30f95 commit 8e8deab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/beastfx/app/inputeditor/BeautiSubTemplate.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ public void removeSubNet(BeautiSubTemplate template, PartitionContext context)
for (BeautiConnector connector : template.connectors) {
doc.disconnect(connector, context);
}
if (template.suppressedInputs.get() != null) {
String[] inputs = template.suppressedInputs.get().split(",");
for (String input : inputs) {
input = input.trim();
doc.beautiConfig.suppressBEASTObjects.remove(input);
}
}
}

void removeSubNet(Object o) {
Expand Down

0 comments on commit 8e8deab

Please sign in to comment.