Skip to content

Commit ed91859

Browse files
authored
Merge pull request #49 from onursumer/hotfix
hotfix for empty mutation table columns
2 parents 51d8e44 + d08d53b commit ed91859

3 files changed

Lines changed: 5 additions & 165 deletions

File tree

build/mutationMapper.js

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -14790,11 +14790,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1479014790
vars.mutationTypeClass = mutationType.style;
1479114791
vars.mutationTypeText = mutationType.text;
1479214792

14793-
// 508 compliance to prevent empty label tag
14794-
if(_.isEmpty(mutationType.text)) {
14795-
return "";
14796-
}
14797-
1479814793
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_mutation_type_template");
1479914794
return templateFn(vars);
1480014795
}
@@ -14806,11 +14801,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1480614801
vars.cosmicClass = cosmic.style;
1480714802
vars.cosmicCount = cosmic.count;
1480814803

14809-
// 508 compliance to prevent empty label tag
14810-
if(_.isEmpty(cosmic.count)) {
14811-
return "";
14812-
}
14813-
1481414804
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_cosmic_template");
1481514805
return templateFn(vars);
1481614806
},
@@ -14822,11 +14812,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1482214812
vars.cnaClass = cna.style;
1482314813
vars.cnaTip = cna.tip;
1482414814

14825-
// 508 compliance to prevent empty label tag
14826-
if(_.isEmpty(cna.text)) {
14827-
return "";
14828-
}
14829-
1483014815
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_cna_template");
1483114816
return templateFn(vars);
1483214817
},
@@ -14837,11 +14822,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1483714822
vars.mutationCount = mutationCount.text;
1483814823
vars.mutationCountClass = mutationCount.style;
1483914824

14840-
// 508 compliance to prevent empty label tag
14841-
if(_.isEmpty(mutationCount.text)) {
14842-
return "";
14843-
}
14844-
1484514825
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_mutation_count_template");
1484614826
return templateFn(vars);
1484714827
},
@@ -14859,11 +14839,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1485914839
vars.normalTotalCount = normalFreq.total;
1486014840
vars.normalAltCount = alleleCount.text;
1486114841

14862-
// 508 compliance to prevent empty label tag
14863-
if(_.isEmpty(normalFreq.text)) {
14864-
return "";
14865-
}
14866-
1486714842
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_normal_freq_template");
1486814843
return templateFn(vars);
1486914844
},
@@ -14881,11 +14856,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1488114856
vars.tumorTotalCount = tumorFreq.total;
1488214857
vars.tumorAltCount = alleleCount.text;
1488314858

14884-
// 508 compliance to prevent empty label tag
14885-
if(_.isEmpty(tumorFreq.text)) {
14886-
return "";
14887-
}
14888-
1488914859
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_tumor_freq_template");
1489014860
return templateFn(vars);
1489114861
},
@@ -14898,11 +14868,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1489814868
vars.omaClass = fis.omaClass;
1489914869
vars.fisText = fis.text;
1490014870

14901-
// 508 compliance to prevent empty label tag
14902-
if(_.isEmpty(fis.text)) {
14903-
return "";
14904-
}
14905-
1490614871
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_mutation_assessor_template");
1490714872
return templateFn(vars);
1490814873
},
@@ -14914,11 +14879,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1491414879
vars.mutationStatusClass = mutationStatus.style;
1491514880
vars.mutationStatusText = mutationStatus.text;
1491614881

14917-
// 508 compliance to prevent empty label tag
14918-
if(_.isEmpty(mutationStatus.text)) {
14919-
return "";
14920-
}
14921-
1492214882
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_mutation_status_template");
1492314883
return templateFn(vars);
1492414884
},
@@ -14930,11 +14890,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1493014890
vars.validationStatusClass = validationStatus.style;
1493114891
vars.validationStatusText = validationStatus.text;
1493214892

14933-
// 508 compliance to prevent empty label tag
14934-
if(_.isEmpty(validationStatus.text)) {
14935-
return "";
14936-
}
14937-
1493814893
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_validation_status_template");
1493914894
return templateFn(vars);
1494014895
},
@@ -14945,11 +14900,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1494514900
vars.normalRefCount = alleleCount.text;
1494614901
vars.normalRefCountClass = alleleCount.style;
1494714902

14948-
// 508 compliance to prevent empty label tag
14949-
if(_.isEmpty(alleleCount.text)) {
14950-
return "";
14951-
}
14952-
1495314903
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_normal_ref_count_template");
1495414904
return templateFn(vars);
1495514905
},
@@ -14960,11 +14910,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1496014910
vars.normalAltCount = alleleCount.text;
1496114911
vars.normalAltCountClass = alleleCount.style;
1496214912

14963-
// 508 compliance to prevent empty label tag
14964-
if(_.isEmpty(alleleCount.text)) {
14965-
return "";
14966-
}
14967-
1496814913
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_normal_alt_count_template");
1496914914
return templateFn(vars);
1497014915
},
@@ -14975,11 +14920,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1497514920
vars.tumorRefCount = alleleCount.text;
1497614921
vars.tumorRefCountClass = alleleCount.style;
1497714922

14978-
// 508 compliance to prevent empty label tag
14979-
if(_.isEmpty(alleleCount.text)) {
14980-
return "";
14981-
}
14982-
1498314923
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_tumor_ref_count_template");
1498414924
return templateFn(vars);
1498514925
},
@@ -14990,11 +14930,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1499014930
vars.tumorAltCount = alleleCount.text;
1499114931
vars.tumorAltCountClass = alleleCount.style;
1499214932

14993-
// 508 compliance to prevent empty label tag
14994-
if(_.isEmpty(alleleCount.text)) {
14995-
return "";
14996-
}
14997-
1499814933
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_tumor_alt_count_template");
1499914934
return templateFn(vars);
1500014935
},
@@ -15015,11 +14950,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1501514950
vars.startPos = startPos.text;
1501614951
vars.startPosClass = startPos.style;
1501714952

15018-
// 508 compliance to prevent empty label tag
15019-
if(_.isEmpty(startPos.text)) {
15020-
return "";
15021-
}
15022-
1502314953
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_start_pos_template");
1502414954
return templateFn(vars);
1502514955
}
@@ -15041,11 +14971,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1504114971
vars.endPos = endPos.text;
1504214972
vars.endPosClass = endPos.style;
1504314973

15044-
// 508 compliance to prevent empty label tag
15045-
if(_.isEmpty(endPos.text)) {
15046-
return "";
15047-
}
15048-
1504914974
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_end_pos_template");
1505014975
return templateFn(vars);
1505114976
}
@@ -15133,11 +15058,6 @@ function MutationDetailsTable(options, gene, mutationUtil, dataProxies, dataMana
1513315058
vars.portalFrequency = portal.frequency;
1513415059
vars.portalClass = portal.style;
1513515060

15136-
// 508 compliance to prevent empty label tag
15137-
if(_.isEmpty(portal.frequency)) {
15138-
return "";
15139-
}
15140-
1514115061
var templateFn = BackboneTemplateCache.getTemplateFn("mutation_table_cbio_portal_template");
1514215062
return templateFn(vars);
1514315063
}

0 commit comments

Comments
 (0)