Skip to content

Commit 0abea55

Browse files
authored
Remove new property numberOfAlteredCasesOnPanel so that legacy will match ch (cBioPortal#5221)
1 parent 989c7dd commit 0abea55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/shared/api/validation.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,13 @@ export function compareCounts(clData: any, legacyData: any, label: string) {
369369
// });
370370
// });
371371

372+
// remove this property which is not in legacy
373+
if (clDataSorted.forEach) {
374+
clDataSorted.forEach((n: any) => {
375+
delete n.numberOfAlteredCasesOnPanel;
376+
});
377+
}
378+
372379
// get rid of these little guys
373380
if (clDataSorted && clDataSorted.filter)
374381
clDataSorted = clDataSorted.filter((n: any) => n.specialValue != 'NA');

0 commit comments

Comments
 (0)