Skip to content
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

Run C++ code examples as Jupyter Notebooks on Binder/Google Collab (whichever works) #6304

Open
1 of 13 tasks
tapaswenipathak opened this issue Aug 18, 2022 · 1 comment · May be fixed by OpenMS/cling-notebooks#1
Open
1 of 13 tasks

Comments

@tapaswenipathak
Copy link
Contributor

tapaswenipathak commented Aug 18, 2022

Problem Statement

A detailed example of how code snippets in the OpenMS C++ manual can be made executable on Xeus-Cling, Jupyter, Binder. This is similar to the Binder integration of the pyOpenMS code on https://pyopenms.readthedocs.io/en/latest/. The example includes the packaging of the OpenMS library and its dependencies and allows for exemplary data files to be uploaded and executed on Binder. The maintainability of the solution is guaranteed by generating notebooks from OpenMS’ example.cpps every night automatically in a separate repo and using the nightly conda.

Sub Tasks

Sub tasks Discussion/Decision Remarks
UI Strong preference for Binder w/ xeus-cling Binder (if not) → Google Collab, build timeout, extensibility
Data https://github.com/OpenMS/OpenMS/tree/develop/doc/code_examples/data later: https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Tutorials/Data/latest/Example_Data/Introduction/datasets/tiny/
Code Examples https://github.com/OpenMS/OpenMS/tree/develop/doc/code_examples
Add link to openms.readthedocs.io  ? ?
Maintainability of your solution should be guaranteed by generating notebooks from OpenMS’ example.cpps every night automatically in a separate repo and using the nightly conda.  cling-notebooks (@jpfeuffer @tjeerdijk) separate repo? openms-docs? images of build of binder goes to separate repository name or branch of openms-docs/openms
How to use https://mybinder.org/v2/gh/OpenMS/pyopenms-extra/master+ipynb?urlpath=lab/tree/docs/source/index.ipynb?   datastructures_peak.ipynb

TODO

  • Create repository OpenMS/cling-notebooks
  • Create OpenMS on Binder or connect cling-notebooks
  • Test run on Binder Xeus-Cling
  • Publish to cling-notebooks
  • Republish to cling-notebooks
  • CRUD and publish to cling-notebooks
  • Optional: Example page on openms-docs about run on Binder/Google Collab
  • Cron every night to publish nightly notebooks
  • README badges (if any)

Focus Points

cc @tjeerdijk.

@timosachsenberg
Copy link
Contributor

I added you to the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants