Load modules form field for Jupyter notebook

Hello
I am currently having some problems with jupyter-lmod plugin therefore I’m looking into other options for loading modules when starting jupyter notebook (OSC version) within Open OnDemand.
I need some help with adding the field in the form so that users could simply state modules one by one in this field. And then what should I add to submit.yml.erb file for loading those modules. Also the loaded modules would in this case be available within jupyter notebook?

Thank you in advance

Are looking to have all the modules listed in one one text area type of thing? That doesn’t seem the most user friendly and it would be very clunky to handle all those modules passed that way as now they are going to all be one big glob rather than distinct fields to pass back.

In any case to do development work on your form you can consult the docs here:
https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/form.html

And for the submit you would use:
https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/submit.html
https://osc.github.io/ood-documentation/latest/reference/files/submit-yml-erb.html#submit-yml-erb

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.