Skip to content

Commit

Permalink
removed the random attribute check and replace it with a static seqCo…
Browse files Browse the repository at this point in the history
…l one (sequences)
  • Loading branch information
waterflow80 committed Aug 17, 2023
1 parent 68d0321 commit 15ff38b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,8 @@ public SeqColComparisonResultEntity compareSeqCols(
comparisonResult.putIntoArrays("a-and-b", seqColCommonAttributes);

// "elements" attribute | "total"
String seqColARandomAttribute = seqColAAttributesList.get(0); // could be any attribute, normally they all have the same size
String seqColBRandomAttribute = seqColBAttributesList.get(0); // could be any attribute, normally they all have the same size
Integer seqColATotal = seqColAEntityMap.get(seqColARandomAttribute).size();
Integer seqColBTotal = seqColBEntityMap.get(seqColBRandomAttribute).size();
Integer seqColATotal = seqColAEntityMap.get("sequences").size();
Integer seqColBTotal = seqColBEntityMap.get("sequences").size();
comparisonResult.putIntoElements("total", "a", seqColATotal);
comparisonResult.putIntoElements("total", "b", seqColBTotal);

Expand Down

0 comments on commit 15ff38b

Please sign in to comment.