-
Notifications
You must be signed in to change notification settings - Fork 7
Example and tests for --model_file #16
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
Comments
I have a question that whether we can use |
dadi has a function: You can see some unpolished examples in the |
I've added a section, "User defined demographic models", after the "Generating caches for DFE inference" section describing using the --model-file option and a bit on making the custom models for demographic inference and cache generation. |
implemented by #19 |
@tjstruck I don't see any tests of this functionality in the test suite. Am I missing something? |
It looks like I started implementing tests but never finished (there are tests in test_GenerateCache). I've put together tests for importing (test_Models.py) and inferring (test_InferDM.py) custom models. Do we want a separate test file for running dadi-cli bash through the subprocess package? |
I wouldn't anticipate errors in dadi-cli arising from subprocess, so I would put that as a low priority, unless we've encountered problems along those lines. |
The functionality for using custom model files (--model_file) should be document, and there should be tests of that functionality in the test suite.
The text was updated successfully, but these errors were encountered: