Closed Bern-Alberts closed 4 years ago
Check out this pull request on
You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.
This is a good start, but the goal is to replace the .py
files with the .ipynb
files instead of just copying, since that would introduce additional maintenance burden. The full fix here also includes updating the tests to run the .ipynb
files instead of the .py
files.
This might be done more easily by using pytest instead of runall.py, see issue #359 .
Just so that it links, I'm going to mention the issue #358
@alchemyst Fixing the environment variable issues with the link you provided got pytest working and all reproduction notebooks have been tested.
I found issues in 3 notebooks that used the 'execfile' function and have replaced this.
All reproduction notebooks passed the subsequent test.
Thanks for this @Bern-Alberts . Unfortunately this has broken the tests on Travis. You can check that you're not breaking stuff by enabling Travis builds on your fork.
Hi @Bern-Alberts . Can you please rebase this work to the current version of the repo? There have been some changes to the Python files which now means I can't automatically merge this.
@alchemyst Will do
@alchemyst I wasn't paying attention when updating "environment.yml". I merged in the changes that were made to some reproduction py files and regenerated their respective notebooks.
I did random spot tests with a few of the newly generated files and found no issues.