courtois-neuromod / anat-processing-book

A notebook that describes the processing of anatomical data for the Courtois-Neuromod Project.
https://courtois-neuromod.github.io/anat-processing-book/
Creative Commons Zero v1.0 Universal
7 stars 2 forks source link

Binder error #16

Closed zelenkastiot closed 3 years ago

zelenkastiot commented 3 years ago

I think that there is an error in the JupyterLab MyBinder session since we moved the files out of the root:

image

Possible solutions I can think of are:

https://github.com/courtois-neuromod/anat-processing-book/blob/b2b2046823ec75a17c697252e27adf4154d3d558/_config.yml#L33

jcohenadad commented 3 years ago

ooops! 😬 Sorry.

Is that something that you can change on your Binder config? For example, when I compile locally with the sources moved, I just point to the source folder:

jupyter-book build source/

Also, what do you use Binder for?

I changed it because I found it cleaner to enclose the source of the book at one location (ie: separate from the jupyter book config files). Other projects seem to also do it:

zelenkastiot commented 3 years ago

No worries, we use Binder for reproducing the plots from the notebooks. We don't have to use it, we can use Google Colab instead. I have both linked 😄

image

zelenkastiot commented 3 years ago

I fixed the error when running the notebook on Binder. I added the path of the book inside the config!

https://github.com/courtois-neuromod/anat-processing-book/blob/150eea141e7cb34d07059b6e6c10332127770dae/source/_config.yml#L49

I will close this issue.