Williams-OBGC-Lab / OCG_Saildrone

Oceanography Camp for Girls Saildrone Lesson
MIT License
0 stars 1 forks source link

Jupytext not working to launch .py file as a notebook #28

Closed ognancy4life closed 3 years ago

ognancy4life commented 3 years ago

Jupytext not working to launch .py file as a notebook when using the environment.yml file to create environment_OCG_Saildrone (this is what Binder uses). However, it does work in my base environment so it's definitely environment-related.

I've tried adding jupytext to the environment file but it seems there's more to it. There is some language in this doc from Jupytext (https://jupytext.readthedocs.io/_/downloads/en/latest/pdf/, find if by searching for "binder") but I can't make sense of it: "Jupytext is compatible with ... Binder (add jupytext to the project requirements and jupyter lab build to postBuild)"

ognancy4life commented 3 years ago

Resolved by adding a postBuild script to the repository.