Skip to content

Commit

Permalink
more BEAST compatibility stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Jun 19, 2019
1 parent 25317fe commit 3338577
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/beast/app/beauti/BeautiDiscreteTraitProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public class BeautiDiscreteTraitProvider extends BeautiAlignmentProvider {

@Override
protected List<BEASTInterface> getAlignments(BeautiDoc doc) {
public List<BEASTInterface> getAlignments(BeautiDoc doc) {
try {
List<String> trees = new ArrayList<String>();
doc.scrubAll(true, false);
Expand Down
2 changes: 1 addition & 1 deletion src/beast/app/beauti/BeautiLocationTraitProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class BeautiLocationTraitProvider extends BeautiAlignmentProvider {

@Override
protected List<BEASTInterface> getAlignments(BeautiDoc doc) {
public List<BEASTInterface> getAlignments(BeautiDoc doc) {
try {
List<String> trees = new ArrayList<String>();
doc.scrubAll(true, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ public void discretePhylogeographyTestTutorial() throws Exception {
// 3. Fix clock rate
warning("3. Fix clock rate");
f.selectTab("Clock Model");
beautiFrame.menuItemWithPath("Mode", "Automatic set clock rate").click();
// beautiFrame.menuItemWithPath("Mode", "Automatic set clock rate").click();
beautiFrame.textBox("clock.rate").setText("0.004");
beautiFrame.checkBox("clock.rate.isEstimated").click();
printBeautiState(f);

beautiFrame.menuItemWithPath("Mode").click();
// beautiFrame.menuItemWithPath("Mode").click();
screenshotTaker.saveComponentAsPng(beauti.frame, PREFIX + "clockmodel.png");

// 4. Set tree prior
Expand Down

0 comments on commit 3338577

Please sign in to comment.