Skip to content
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

Segmentation fault (core dumped) error when using the (-m) option of pxseqgen #25

Closed
jfwalker opened this issue May 17, 2016 · 2 comments
Assignees

Comments

@jfwalker
Copy link
Contributor

./pxseqgen -t your_tree.tre -o outfile.txt -m .33,.33,.33,.33,.33,2,.3,.3,.2,.5,.4

@josephwb josephwb self-assigned this May 17, 2016
@josephwb
Copy link
Member

You are missing 2 substitution parameters in the call above. Nevertheless, an error should be returned instead of a segfault. Should be a very easy fix.
We might want to change how args are passed here. I think maybe they should be separated, say: -m for the background model, then -m2 for the model beginning at node 2, etc. But I'll fix this as it is now setup first.

@josephwb
Copy link
Member

Fixed with d934359. However, in implementing the check it is clear that this setup is very clunky. Should return to alter this at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants