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
…st (#10255)
  • Loading branch information
BasLee committed Jul 20, 2023
1 parent 8f6534e commit 7339191
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 7339191

Please sign in to comment.