-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add instructions for actually running the tutorials to intro.html #119
Comments
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 16, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 19, 2021
hyanwong
added a commit
to hyanwong/tutorials
that referenced
this issue
Jul 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should make it easy for a tutee to copy and paste the code cells in most of the tutorials to their own Jupyter notebooks (especially the basics/getting_started ones), and for it to work the majority of the time. For this we need to give them instructions about what they need to install.
One possibility is e.g. to expose
requirements.txt
to a general location and inintro.html
recommend something likeAlthough this would install jupyterbook, which is not actually needed to run the code cells. To run the R stuff we also need the tutee to run
R -e 'install.packages(c("reticulate", "IRkernel")); IRkernel::installspec()'
as described in the GitHub repo README file.Also, basically the first code line in
basics.html
ists = tskit.load("data/basics.trees")
which won't work if copied and pasted, so this is a prime candidate for loading from a URL (see #116 & tskit-dev/tskit#1566)The text was updated successfully, but these errors were encountered: