diff --git a/client-nuxt/components/RunAnalysisForm.vue b/client-nuxt/components/RunAnalysisForm.vue index 71cbcb559b81eb232b8306e67f35c86af776ca7a..45ecbff61cb65f69147f44bd027f687e168573da 100644 --- a/client-nuxt/components/RunAnalysisForm.vue +++ b/client-nuxt/components/RunAnalysisForm.vue @@ -36,10 +36,6 @@ }}</v-expansion-panel-header> <v-expansion-panel-content v-if="workflowParameters"> <div v-for="input in param.inputs" :key="input.name" class="mt-5"> - <!-- {{ input.name }} - - {{ param.stepId }} - {{ selectedWfParams['1'] }} --> - <!-- {{ selectedWfParams[param.stepId] }} --> <select-tool-parameter v-if=" input.model_class == 'SelectToolParameter' && @@ -188,39 +184,6 @@ export default { this.error = err.message } }, - // async getWorkflowDetails() { - // try { - // this.selectedWorkflowTools = await this.$axios.$get( - // `/api/workflow-tools/${this.workflowId}/` - // ) - - // this.toolsInputs = Object.keys(this.selectedWorkflowTools) - // .filter((stepId) => stepId !== 'null') - // .map((stepId) => { - // this.selectedWorkflowTools[stepId].stepId = stepId - // return this.selectedWorkflowTools[stepId] - // }) - // .map((tool) => { - // tool.inputs = tool.inputs.filter( - // (input) => input.model_class !== 'DataToolParameter' - // ) - // return tool - // }) - // .filter((tool) => tool.inputs.length > 0) - // const wfParams = await this.$axios.$get( - // `/api/workflow-default-parameters/${this.workflowId}/` - // ) - - // this.selectedWfParams = Object.keys(wfParams).reduce((acc, stepId) => { - // if (Object.keys(wfParams[stepId]).length > 0) { - // acc[stepId] = { ...wfParams[stepId] } - // } - // return acc - // }, {}) - // } catch (error) { - // this.error = error - // } - // }, }, } </script>