From a82f532144e368d4dfb95a35fc3b6c59e3ad527d Mon Sep 17 00:00:00 2001 From: ugur-camoglu Date: Fri, 1 Apr 2022 10:35:52 +0300 Subject: [PATCH] parsing func update --- src/components/parsing-functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/parsing-functions.js b/src/components/parsing-functions.js index c298d53..44d7797 100644 --- a/src/components/parsing-functions.js +++ b/src/components/parsing-functions.js @@ -541,7 +541,7 @@ export function parseAnalysisSteps(analysis_steps, parsingOptions = {}){ function areAnyRunDataPresentAndEqual(node, stepIO){ const { meta: { run_data: nodeRunData } = {} } = node; - const { run_data: ioRunData } = stepIO; + const { run_data: ioRunData = {} } = stepIO; if (!nodeRunData) return false; // AB: Not sure / can't remember why array is always expected here, it might make sense to check if not array and then use [ ioRunData.file ] const stepIOFiles = (ioRunData && Array.isArray(ioRunData.file) && ioRunData.file) || [];