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

R script crashes when codon_stationary_distribution has only one column #90

Open
jasondk opened this issue Mar 25, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jasondk
Copy link
Member

jasondk commented Mar 25, 2024

Duplicating the single column fixed it for me

@jasondk jasondk added the bug Something isn't working label Mar 25, 2024
@jasondk
Copy link
Member Author

jasondk commented Mar 25, 2024

In utils/fitness_profile_finder.R, it crashes on:

Error in colSums(freqs[, -ncol(freqs)]) :
'x' must be an array of at least two dimensions

@jasondk
Copy link
Member Author

jasondk commented Mar 25, 2024

To reproduce the error: python3 SLiMTree.py -n 100 -v 0.0000025 -b 10 -r 0 -g 1 -k 100 simple-tree.txt codons3.csv -f start.fasta.txt
codons3.csv
simple-tree.txt
start.fasta.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants