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

Have read_cross2() give warning rather than error when possible. #179

Closed
kbroman opened this issue Nov 12, 2020 · 1 comment
Closed

Have read_cross2() give warning rather than error when possible. #179

kbroman opened this issue Nov 12, 2020 · 1 comment

Comments

@kbroman
Copy link
Member

kbroman commented Nov 12, 2020

With "dof1" data, read_cross2() gives an error if the number of alleles doesn't match what's expected:

Error in read_cross2(file = "gm_sorted.json") :   length(alleles) [9] != expected number [8]

Would be better to make this a warning rather than an error, and subset or pad the alleles.

@kbroman
Copy link
Member Author

kbroman commented Nov 18, 2020

this is a duplicate of #178. 😳

@kbroman kbroman closed this as completed Nov 18, 2020
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

1 participant