-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample method called twice #468
Comments
When sample button is pressed and reps=1, the values are sampled twice in LPhyStudio. The sampling should only be called once for reps=1. |
After running the script, it would run SubsampledTree second time. The script below would generate a
The output result would be
|
When there are two SubsampledTree methods in the script, the second time running would call them from the bottom of the script. The second time running triggers SubsampledTree twice; the first time is bulk tree, and the second time is new tree. The second time results of bulk tree and new tree are written in the output files. The two Yule trees are written in
The output would be
|
When run the gompertz coalescent, after click sample button it appears different values of the tree with the true rootage

The script I use:
N0 ~ LogNormal(meanlog=10, sdlog=0.5);
NInfinity ~ LogNormal(meanlog=28, sdlog=0.5);
b ~ Beta(alpha=1, beta=100);
gompertzPopFunc = gompertz(N0=N0, b=b, NInfinity=NInfinity);
tree ~ CoalescentPopFunc(n=16, popFunc=gompertzPopFunc);
D ~ PhyloCTMC(L=L, Q=jukesCantor(), mu=1.0E-9, tree=tree);
rootAge = tree.rootAge();
The text was updated successfully, but these errors were encountered: