Skip to content

Commit

Permalink
parsing func update
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur-camoglu committed Apr 1, 2022
1 parent ca582b1 commit a82f532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/parsing-functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) || [];
Expand Down

0 comments on commit a82f532

Please sign in to comment.