-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Update arepo docs notebook to be pre-run #2120
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report
@@ Coverage Diff @@
## master #2120 +/- ##
=======================================
Coverage 61.54% 61.54%
=======================================
Files 75 75
Lines 8635 8635
=======================================
Hits 5314 5314
Misses 3321 3321 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
*beep* *bop* Hi, human. The Click here to see your results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a huge fan of the pre-running idea, especially since now it cannot be interactively run as it uses the actual snapshot. If we do go with this though, the few things I would add to this PR:
- In
.gitignore
make sure all generated files are included, and make sure any files no longer generated are removed. - Make sure all files needed to run the notebook (assuming you have the correct packages installed) like the snapshot are included in the repo so the notebook can be updated when needed.
Edit: I also didn't know that the notebook was switched to being pre-run -- I think I missed that PR. As mentioned before I think it's best to clear output.
As discussed in the slack, the whole reason to set this notebook to being pre-run is to avoid having to download the huge snapshot files from the LFS every time the docs have to be built. If this is no longer desired, this PR could be closed. @andrewfullard what do you think? |
If that's the issue then I understand, then I would just still remove unnecessary files from the |
Head branch was pushed to by a user without write access
It's fine by me |
📝 Description
Type: 🪲
bugfix
| 📝documentation
Updates the arepo-parser documentation to use a pre-run jupyter notebook to avoid downloading reference files on each build. Additionally the documentation now uses the actual snapshot now since notebook is pre-run anyway, i.e. arepo-snap-utils is required to pre-run the notebook.
🚦 Testing
How did you test these changes?
☑️ Checklist
build_docs
label