Skip to content

Commit

Permalink
Add default value that reduces RTwSA to RT
Browse files Browse the repository at this point in the history
  • Loading branch information
Gereon A. Kaiping committed Jul 21, 2021
1 parent 59e9583 commit e11c48a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/beast/evolution/tree/RandomTreeWithSA.java
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
package beast.evolution.tree;

import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

import beast.core.Input;
import beast.core.Input.Validate;
import beast.core.util.Log;
import beast.evolution.alignment.Taxon;
import beast.evolution.alignment.TaxonSet;

public class RandomTreeWithSA extends RandomTree {

final public Input<TaxonSet> startAsSampledAncestors = new Input<>("sampledAncestor",
"Taxa to start as sampled ancestors", Validate.REQUIRED);
final public Input<TaxonSet> startAsSampledAncestors = new Input<TaxonSet>("sampledAncestor",
"Taxa to start as sampled ancestors", new TaxonSet(new ArrayList<Taxon>()));

@Override
public void initAndValidate() {
Expand Down

0 comments on commit e11c48a

Please sign in to comment.