You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the scripts/rerun.py script (https://github.com/pymc-devs/pymc-examples/blob/main/scripts/rerun.py) which attempts to auto-update the code and rerun the NB. If it runs without error (which should be the default) it will commit the updated NB to a branch you specified. If not, you need to fix the NB manually, rerun it, and commit yourself.
After, create a PR to this repo.
Here are the docs from the rerun.py script:
This script/module may be used to re-run, commit & push notebooks
from the CLI or from another Python script (via import rerun).
Run python rerun.py -h to show the CLI help.
The example below does the following:
Re-runs the BEST notebook
Commits changes to a branch "rerun-best"
Push that branch to a remote named "mine"
Assuming you did something like: git add remote mine https://github.com/yourgithubusername/pymc-examples
There are quite a few NBs that still need porting here in ToDo or Best Practices (v3): https://github.com/pymc-devs/pymc-examples/projects/1#card-75796525
How?
Run the
scripts/rerun.py
script (https://github.com/pymc-devs/pymc-examples/blob/main/scripts/rerun.py) which attempts to auto-update the code and rerun the NB. If it runs without error (which should be the default) it will commit the updated NB to a branch you specified. If not, you need to fix the NB manually, rerun it, and commit yourself.After, create a PR to this repo.
Here are the docs from the
rerun.py
script:This script/module may be used to re-run, commit & push notebooks
from the CLI or from another Python script (via
import rerun
).Run
python rerun.py -h
to show the CLI help.The example below does the following:
Assuming you did something like:
git add remote mine https://github.com/yourgithubusername/pymc-examples
The text was updated successfully, but these errors were encountered: