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
V2: Add all notebooks to test #840
Conversation
Is there any update for this PR? I looked at the test results, and it seems this CI would work. There are two notebooks that failed to run. One seems due to an outdated import, and the other one failed because of a matplotlib import error. Can you install this package in the CI when running the tests on those examples? We can wait for #834 to be merged and run the tests again. |
With the -v verbose tag, I was able to make the notebook test fails CI. After adding all the notebooks to CI, there are some bugs found. mpnn_fingerprints notebook is now failing as it uses matplotlib, but chemprop env doesn't come with matplotlib. @shihchengli What do you think we should do? Should we add matplotlib to chemprop env? Or should we remove the plotting examples? extra_features_from_featurizer notebook is also now failing due to
|
As matplotlib is widely used in visualization, I am fine with including it as a dependency. If other devs do not want to include it as a dependency because we never use it in the other parts, we can consider removing the figures from the notebooks or installing it additionally during testing. As for the featurization issues, I suggest you wait until the PR #834 is finished, which should be able to resolve these issues. |
@shihchengli I install matplotlib before the notebook test. I also talked to @KnathanM to figure out a way to fix the featurizer notebook. Could you review and approve? I will uncomment the unit tests after reviews. |
Description
Currently when a notebook test fails, CI doesn't complain. I will work on debugging this in this PR.
Example / Current workflow
n/a
Bugfix / Desired workflow
n/a
Questions
n/a
Relevant issues
#798
Checklist