Skip to content

Commit 6e05395

Browse files
committed
reverting some of BEAUti disappearing parameters fix, since it messes up the MCMC panel after removing/splitting partitions #89
1 parent 16a56bf commit 6e05395

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/beastfx/app/inputeditor/BeautiSubTemplate.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,16 @@ public void removeSubNet(BeautiSubTemplate template, PartitionContext context)
269269
for (BeautiConnector connector : template.connectors) {
270270
doc.disconnect(connector, context);
271271
}
272-
if (template.suppressedInputs.get() != null) {
273-
String[] inputs = template.suppressedInputs.get().split(",");
274-
for (String input : inputs) {
275-
input = input.trim();
276-
doc.beautiConfig.suppressBEASTObjects.remove(input);
277-
}
278-
}
272+
// this code fixes disappearing parameters bewteen tree priors CompEvol/BeastFX/#89
273+
// but doing so removes items like MCMC.state, which then shows up in the MCMC panel
274+
// TOOD: fix #89 a better way
275+
// if (template.suppressedInputs.get() != null) {
276+
// String[] inputs = template.suppressedInputs.get().split(",");
277+
// for (String input : inputs) {
278+
// input = input.trim();
279+
// doc.beautiConfig.suppressBEASTObjects.remove(input);
280+
// }
281+
// }
279282
}
280283

281284
void removeSubNet(Object o) {

0 commit comments

Comments
 (0)