16073: Correctly fetch raw inputs wihtout processing
[arvados-workbench2.git] / src / store / processes / processes-actions.ts
index dbca03ab6387c069993f80c3423f2d5881ac3507..eb04ed676f7644026cb8462760b47c064336dc87 100644 (file)
@@ -133,6 +133,11 @@ export const reRunProcess = (processUuid: string, workflowUuid: string) =>
         }
     };
 
+export const getRawInputs = (data: any): CommandInputParameter[] | undefined => {
+    if (!data || !data.mounts || !data.mounts[MOUNT_PATH_CWL_INPUT]) { return undefined; }
+    return (data.mounts[MOUNT_PATH_CWL_INPUT].content);
+}
+
 export const getInputs = (data: any): CommandInputParameter[] => {
     if (!data || !data.mounts || !data.mounts[MOUNT_PATH_CWL_WORKFLOW]) { return []; }
     const inputs = getWorkflowInputs(data.mounts[MOUNT_PATH_CWL_WORKFLOW].content);