From e447dda6a670674d8846b3da3397fce93559da6f Mon Sep 17 00:00:00 2001 From: ScriptSmith Date: Mon, 5 Aug 2024 11:38:38 +1000 Subject: [PATCH] Re-order interactive and batch options --- .../tool/guide/EresearchJob/EresearchJob.js | 2 +- .../EresearchJob/EresearchJob.stories.js | 30 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/components/tool/guide/EresearchJob/EresearchJob.js b/src/components/tool/guide/EresearchJob/EresearchJob.js index d5be4b81..1dbff23c 100644 --- a/src/components/tool/guide/EresearchJob/EresearchJob.js +++ b/src/components/tool/guide/EresearchJob/EresearchJob.js @@ -56,8 +56,8 @@ const getConfigGroups = (config, onConfigChange = () => {}) => { }, jobType: () => { const jobTypes = [ - ["Interactive", "Run the job in an interactive shell"], ["Batch", "Submit the job to the queue to run in the background"], + ["Interactive", "Run the job in an interactive shell"], ]; return { element: (key, selected) => ( diff --git a/src/components/tool/guide/EresearchJob/EresearchJob.stories.js b/src/components/tool/guide/EresearchJob/EresearchJob.stories.js index ea19f15b..4a490093 100644 --- a/src/components/tool/guide/EresearchJob/EresearchJob.stories.js +++ b/src/components/tool/guide/EresearchJob/EresearchJob.stories.js @@ -16,6 +16,20 @@ export const NoHeader = { }, }; +export const LyraBatch = { + args: { + initialConfig: { + ...DEFAULT_CONFIG, + service: "Lyra", + jobType: "Batch", + hardware: "CPU", + cpuVendor: "Any", + cpuCores: 4, + ram: 16, + }, + }, +}; + export const LyraInteractive = { args: { initialConfig: { @@ -35,7 +49,7 @@ export const LyraCustomHardware = { initialConfig: { ...DEFAULT_CONFIG, service: "Lyra", - jobType: "Interactive", + jobType: "Batch", hardware: "GPU", cpuVendor: "Intel", cpuModel: "8260", @@ -48,20 +62,6 @@ export const LyraCustomHardware = { }, }; -export const LyraBatch = { - args: { - initialConfig: { - ...DEFAULT_CONFIG, - service: "Lyra", - jobType: "Batch", - hardware: "CPU", - cpuVendor: "Any", - cpuCores: 4, - ram: 16, - }, - }, -}; - export const LyraMultiNode = { args: { initialConfig: {