Skip to content

Commit 7c046e6

Browse files
committed
Last commit with comments
1 parent 0be3423 commit 7c046e6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/main/java/org/cbioportal/application/rest/vcolumnstore/ColumnarStoreStudyViewController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,8 @@ public ResponseEntity<List<GenomicDataCountItem>> fetchMutationDataCounts(
497497
@Valid
498498
@RequestBody(required = false)
499499
GenomicDataCountFilter genomicDataCountFilter,
500-
@Parameter() @RequestParam(defaultValue = "false") boolean includeSampleIds) {
500+
@Parameter(description = "Flag to include sample ids") @RequestParam(defaultValue = "false")
501+
boolean includeSampleIds) {
501502
List<GenomicDataFilter> genomicDataFilters = genomicDataCountFilter.getGenomicDataFilters();
502503
StudyViewFilter studyViewFilter = genomicDataCountFilter.getStudyViewFilter();
503504
// when there is only one filter, it means study view is doing a single chart filter operation

src/main/java/org/cbioportal/domain/genomic_data/repository/GenomicDataRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Map<String, Integer> getMutationCounts(
7575
* {@code null}.
7676
* @param genomicDataFilters a list of filters to apply to the genomic data. Must not be {@code
7777
* null}.
78+
* @param includeSampleIds flag to include sample ids
7879
* @return a list of {@link GenomicDataCountItem} objects representing the mutation counts by
7980
* type.
8081
*/

src/main/java/org/cbioportal/domain/genomic_data/usecase/GetMutationCountsByTypeUseCase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public GetMutationCountsByTypeUseCase(GenomicDataRepository repository) {
3131
*
3232
* @param studyViewFilterContext the context of the study view filter to apply
3333
* @param genomicDataFilters a list of genomic data filters to apply
34+
* @param includeSampleIds flag to include sample ids
3435
* @return a list of {@link GenomicDataCountItem} representing the mutation counts by type
3536
*/
3637
public List<GenomicDataCountItem> execute(

0 commit comments

Comments
 (0)