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

QC method currently in if/else block can be moved to a lookup table. #5

Open
jdpye opened this issue Sep 10, 2024 · 0 comments
Open

Comments

@jdpye
Copy link

jdpye commented Sep 10, 2024

Here we have an if/else block defining which method for which species:

https://github.com/ianjonsen/ArgosQC/blob/main/R/prep_diag.R#L137

This could instead be a bit of config file that we load in and check at run-time, allowing for extensions to the system without needing to change code.

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