Skip to content

Commit b4bb9aa

Browse files
committed
Fix: change orgin-data for MaxEntScan (bug with SearchBuilder)
1 parent fdae73c commit b4bb9aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

seal/templates/analysis/sample.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,13 +1541,13 @@ <h3>Comments (<span class="commentsCountVar"></span>)</h3>
15411541
}),
15421542
createColumn({
15431543
id: "export-filter-MES",
1544-
data: "annotations",
1544+
data: null,
15451545
searchBuilderTitle:"Prediction - MaxEntScan",
15461546
visible: false,
15471547
renderConfig: {
15481548
default: (data, type) => {
1549-
const alt = parseFloat(data.MaxEntScan_alt || 0).toFixed(2);
1550-
const ref = parseFloat(data.MaxEntScan_ref || 0).toFixed(2);
1549+
const alt = parseFloat(data.annotations.MaxEntScan_alt || 0).toFixed(2);
1550+
const ref = parseFloat(data.annotations.MaxEntScan_ref || 0).toFixed(2);
15511551
const mes_var = (((alt - ref) / Math.abs(ref)) * 100).toFixed(2);
15521552
d = isNaN(parseFloat(mes_var)) ? null: parseFloat(mes_var).toFixed(2);
15531553
return type === 'export' && d=== null? '' : Math.abs(d);

0 commit comments

Comments
 (0)