Skip to content

Commit

Permalink
Rebase with feature branch
Browse files Browse the repository at this point in the history
  • Loading branch information
haynescd committed Aug 20, 2024
1 parent a7a2b5e commit de09473
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.cbioportal.model.SampleTreatment;
import org.cbioportal.web.parameter.ClinicalDataType;
import org.cbioportal.web.parameter.CustomSampleIdentifier;
import org.cbioportal.web.parameter.SampleIdentifier;
import org.cbioportal.web.parameter.GenomicDataFilter;
import org.cbioportal.web.parameter.StudyViewFilter;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.cbioportal.persistence.helper.AlterationFilterHelper;
import org.cbioportal.web.parameter.CategorizedClinicalDataCountFilter;
import org.cbioportal.web.parameter.ClinicalDataType;
import org.cbioportal.web.parameter.SampleIdentifier;
import org.cbioportal.web.parameter.CustomSampleIdentifier;
import org.cbioportal.web.parameter.GenomicDataFilter;
import org.cbioportal.web.parameter.StudyViewFilter;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.cbioportal.service.treatment.TreatmentCountReportService;
import org.cbioportal.web.parameter.ClinicalDataType;
import org.cbioportal.web.parameter.CustomSampleIdentifier;
import org.cbioportal.web.parameter.SampleIdentifier;
import org.cbioportal.web.parameter.GenomicDataFilter;
import org.cbioportal.web.parameter.StudyViewFilter;
import org.cbioportal.web.columnar.util.CustomDataFilterUtil;
Expand All @@ -27,7 +26,6 @@
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.math.BigDecimal;
import java.util.List;
import java.util.stream.Collectors;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void getMolecularProfileCounts() {
studyViewFilter.setGenomicProfiles(profileGroups);

var molecularProfileCounts = studyViewMapper.getMolecularProfileSampleCounts(studyViewFilter,
CategorizedClinicalDataCountFilter.getBuilder().build(), false );
CategorizedClinicalDataCountFilter.getBuilder().build(), false, List.of());

var size = molecularProfileCounts.stream().filter(gc->gc.getValue().equals("mutations"))
.findFirst().get().getCount().intValue();
Expand All @@ -64,7 +64,7 @@ public void getMolecularProfileCountsMultipleStudies() {
studyViewFilter.setGenomicProfiles(profileGroups);

var molecularProfileCounts = studyViewMapper.getMolecularProfileSampleCounts(studyViewFilter,
CategorizedClinicalDataCountFilter.getBuilder().build(), false );
CategorizedClinicalDataCountFilter.getBuilder().build(), false, List.of());

var size = molecularProfileCounts.stream().filter(gc->gc.getValue().equals("mutations"))
.findFirst().get().getCount().intValue();
Expand All @@ -83,7 +83,7 @@ public void getMolecularProfileCountsMultipleProfilesUnion() {
studyViewFilter.setGenomicProfiles(profileGroups);

var molecularProfileCounts = studyViewMapper.getMolecularProfileSampleCounts(studyViewFilter,
CategorizedClinicalDataCountFilter.getBuilder().build(), false );
CategorizedClinicalDataCountFilter.getBuilder().build(), false, List.of() );

var sizeMutations = molecularProfileCounts.stream().filter(gc->gc.getValue().equals("mutations"))
.findFirst().get().getCount().intValue();
Expand All @@ -107,7 +107,7 @@ public void getMolecularProfileCountsMultipleProfilesIntersect() {
studyViewFilter.setGenomicProfiles(profileGroups);

var molecularProfileCounts = studyViewMapper.getMolecularProfileSampleCounts(studyViewFilter,
CategorizedClinicalDataCountFilter.getBuilder().build(), false );
CategorizedClinicalDataCountFilter.getBuilder().build(), false, List.of());

var sizeMutations = molecularProfileCounts.stream().filter(gc->gc.getValue().equals("mutations"))
.findFirst().get().getCount().intValue();
Expand Down

0 comments on commit de09473

Please sign in to comment.