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

Update app-pack-gen process to default to Python kernel #25

Closed
mcduffie opened this issue Oct 17, 2024 · 3 comments
Closed

Update app-pack-gen process to default to Python kernel #25

mcduffie opened this issue Oct 17, 2024 · 3 comments
Assignees

Comments

@mcduffie
Copy link
Collaborator

Godwin/Jay, as part of EMIT workflow development exercise, ran into an issue where they would have to update the process.ipynb to point to ipykernel instead of the project's ISOFIT environment. Image

Consider overwriting the Users' environment in their notebook to specify the correct kernel using -k option: https://papermill.readthedocs.io/en/latest/troubleshooting.html

@mcduffie mcduffie self-assigned this Oct 17, 2024
@mcduffie mcduffie converted this from a draft issue Oct 17, 2024
@mcduffie
Copy link
Collaborator Author

Possible solution use -k option to papermill:

https://papermill.readthedocs.io/en/latest/troubleshooting.html

@rtapella
Copy link

I wonder if this works better with a build script at runtime... like this is a papermill solution but how would this work if you just register an algorithm with a python script, or shell script wrapping your program?

@mcduffie mcduffie moved this from Backlog to Todo in Unity Project Board Dec 10, 2024
@mike-gangl
Copy link

@rtapella this -k option is only needed because we're using papermill to run the notebook. it's a direct result of using the app-pack-generator system. If a user creates their own app-package (like ASIPS), then this wouldn't come in to play- the docker container that is built as part of the app package has all the libraries and run times required (e.g. python, c++, idl, and so on).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants