-
Notifications
You must be signed in to change notification settings - Fork 23
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
Output formats are not passed properly from Job Details view to Create Job form #54
Comments
@andrii-i @jweill-aws is this still valid? |
Implementation changed but the issue is still valid. Now it's about adding missing outputFormats conversion functionality in jupyter-scheduler/src/model.ts Lines 108 to 140 in 5fd1856
|
3coins
changed the title
Input formats are not passed properly from Job Details view to Create Job form
Output formats are not passed properly from Job Details view to Create Job form
Oct 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In
rerunJob
injob-detail.tsx
, the output formats are passed asname: format, label: format
whereformat
is'ipynb'
or'HTML'
:jupyter-scheduler/src/mainviews/job-detail.tsx
Lines 64 to 78 in c776e2d
Because these output formats do not match those in the environment's output formats list, they will never be selected on the create job form.
Expected behavior
The jobs should be in the same format as is used in the environments list's environment definition: for example,
{ name: 'ipynb', label: 'Notebook' }
.Context
The utility function
outputFormatsForEnvironment
is used to get an environment's properly formed output formats.The text was updated successfully, but these errors were encountered: