-
Notifications
You must be signed in to change notification settings - Fork 268
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
Add discrete_long cna data type #4423
Conversation
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.
This looks good to me, just make sure tests are passing before merging.
@@ -2694,7 +2695,7 @@ export class ResultsViewPageStore | |||
profile => | |||
profile.molecularAlterationType === | |||
AlterationTypeConstants.COPY_NUMBER_ALTERATION && | |||
profile.datatype === DataTypeConstants.DISCRETE | |||
CnaDataTypes.includes(profile.datatype) |
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 we need this? Or maybe just keep
profile.molecularAlterationType === AlterationTypeConstants.COPY_NUMBER_ALTERATION
is enough?
@@ -510,7 +514,7 @@ export function pickCopyNumberEnrichmentProfiles(profiles: MolecularProfile[]) { | |||
(profile: MolecularProfile) => | |||
profile.molecularAlterationType === | |||
AlterationTypeConstants.COPY_NUMBER_ALTERATION && | |||
profile.datatype === 'DISCRETE' | |||
CnaDataTypes.includes(profile.datatype) |
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.
same here
Thanks for reviewing @dippindots! On second thought, maybe this whole new Any thoughts? |
@BasLee @pvannierop as far as I can tell, there is no special treatment given to DISCRETE_LONG datatype in the frontend. If that's true, and will always be true, perhaps we should make an effort to hide it from the frontend? Apologies if I misunderstand. |
Ok, we can shelve/delete this PR, in favor of the changes mentioned in cBioPortal/cbioportal#9847 (comment) |
We have decided to hide this new type (which is only relevant to import process) |
Add
DISCRETE_LONG
as a possible CNA data type.Fixes e2e test failures introduced by the new CNA long format of cBioPortal/cbioportal#9847
Changes
DISCRETE_LONG
to data typesCnaDataTypes
that contains both possible cna data types