Skip to content

Commit

Permalink
Allow ProfiledCasesCounter to add counts to empty alteration count li…
Browse files Browse the repository at this point in the history
  • Loading branch information
BasLee authored and jagnathan committed Nov 8, 2023
1 parent da78a35 commit b5cf400
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ public List<AlterationCountByGene> getSampleAlterationGeneCounts(Set<MolecularPr
|| (molecularProfileCaseIdentifiers == null || molecularProfileCaseIdentifiers.isEmpty())
|| allAlterationsExcludedDriverAnnotation(alterationFilter)
|| allAlterationsExcludedMutationStatus(alterationFilter)
|| allAlterationsExcludedDriverTierAnnotation(alterationFilter)) {
return Collections.emptyList();
|| allAlterationsExcludedDriverTierAnnotation(alterationFilter)
) {
// We want a mutable empty list:
return new ArrayList<>();
}

Set<String> molecularProfileIds = molecularProfileCaseIdentifiers.stream()
Expand Down

0 comments on commit b5cf400

Please sign in to comment.