-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: Genomic data counts #10293
Draft: Genomic data counts #10293
Conversation
|
||
public class CopyNumberCountFilter { | ||
|
||
private String molecularProfileId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should support multi profile, use profileType
instead of molecularProfileId
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean List?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you are not using this class anymore. could you remove it?
web/src/main/java/org/cbioportal/web/parameter/CopyNumberCountFilter.java
Outdated
Show resolved
Hide resolved
|
||
public class CopyNumberCountFilter { | ||
|
||
private String molecularProfileId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you are not using this class anymore. could you remove it?
List<String> hugoGeneSymbols, | ||
AlterationFilter alterationFilter) throws StudyNotFoundException { | ||
List<MolecularProfileCaseIdentifier> caseIdentifiers = | ||
molecularProfileService.getFirstDiscreteCNAProfileCaseIdentifiers(studyIds, sampleIds); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discrete profile comes from request (GenomicDataFilter). Not choosing the first one.
Ref: look into how data is fetched in/genomic-data-bin-counts/fetch
studyIds, | ||
sampleIds, | ||
gdFilters.stream().map(GenomicDataFilter::getHugoGeneSymbol).collect(Collectors.toList()), | ||
studyViewFilter.getAlterationFilter()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
studyViewFilter
is used in filtering data. This shouldn't be used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the alterationFilter to be used? Do you mean to create a brand new alterationFilter in StudyViewService?
Kudos, SonarCloud Quality Gate passed! |
Implement backend changes in issue #10257