Conversation
|
Would it be possible for DANDI to create environments and kernels for each DANDI example notebook such that when the notebook is opened, the notebook can be run from an existing kernel? Currently, even if there is an environment.yml for each notebook, the notebook has to say something like the following to tell the user to set up a conda environment, create a kernel, and use the kernel:
|
|
Perhaps that request would be best implemented via Binder or BinderHub... |
|
@rly - 2i2c is working on such a project: https://2i2c.org/blog/2022/gesis-2i2c-collaboration-update/ |
|
alternatively, we could put these instructions in the root README of the example-notebooks repo |
|
I've opened a PR on the example-notebooks repo here: dandi/example-notebooks#56 |
|
FWIW, I am also checking out davos as a possible way to make those notebooks usable in dedicated environments "turnkey": ContextLab/davos#96 |
yarikoptic
left a comment
There was a problem hiding this comment.
minor changes. Let's finalize/merge this @bendichter !
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
There was a problem hiding this comment.
Thank you @bendichter. These instructions are great.
(I have a couple of minor suggestions for the Example notebooks section which I will submit in #108 to facilitate the merging of this pull request.)
|
@bendichter Looks like there is a conflict with the |
|
|
||
| The best way to share analyses on DANDI data is through the DANDI example notebooks. | ||
| These notebooks are maintained in https://github.com/dandi/example-notebooks repository which provides more information about their organization. | ||
| Dandiset contributors are encouraged to use these notebooks to demonstrate how to read, analyze, and visualize the data, and how to produce figures from associated scientific publications. |
There was a problem hiding this comment.
IMHO here it would be very valuable to show how to reference those from within dandiset metadata/meditor
There was a problem hiding this comment.
Hi @yarikoptic, would it be best to reference these notebooks in the Related resources section of the Dandiset metadata?
There was a problem hiding this comment.
here we are talking about hub... hub is particularly "good" for notebooks. I think it was a right call to mention them here (and may be elsewhere too).
There was a problem hiding this comment.
Hi @yarikoptic, sorry, I am confused regarding this suggestion.
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-authored-by: Kabilar Gunalan <kabi@mit.edu>
Co-authored-by: Kabilar Gunalan <kabi@mit.edu>
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-authored-by: Kabilar Gunalan <kabi@mit.edu>
|
I've incorporated most of the suggestions. I'm going to merge now as I think this is a substantial value-add as-is. We can always improve it later. |
add docs for DANDI hub
Add docs for accessing DANDI Hub and for example-notebook best practices