Commit c5fd64b1 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Updated bundle*.js after latest changes.

parent a7333c90
Pipeline #48086 passed with stage
in 5 seconds
......@@ -647,12 +647,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
function getGroupTypeCode(group) {
if (group.group_type === 'equation of state') return 'eos';else if (group.group_type === 'convergence') return 'par';
if (group.group_type === 'equation of state') return 'eos';else if (group.group_type === 'parameter variation') return 'par';
}
function getGroupType(leafId) {
var code = leafId.substring(0, 3);
if (code === 'eos') return 'equation of state';else if (code === 'par') return 'convergence';else return null;
if (code === 'eos') return 'equation of state';else if (code === 'par') return 'parameter variation';else return null;
}
function isGroup(leafId) {
......@@ -6055,7 +6055,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
this.element.className = className;
this.filtersOn = [];
this.folded = true;
this.element.innerHTML += '\n <div>\n <div style="display: flex; justify-content: flex-end;">\n <div class="filter-groups-c-folded" >\n <span style="vertical-align: top;">Filtering &nbsp;&nbsp;</span>\n </div>\n <div class="filter-c-btn" >\n <img src="' + util.IMAGE_DIR + 'folded.png" />\n <!--<button class="on">filter</button> -->\n </div>\n </div>\n <div class="filter-groups-c-unfolded" style="display: none">\n <table style="width: 100%">\n <thead>\n <tr>\n <th style="width: 13%;"> </th>\n <th style="width: 17%;">\n <span>Type</span>\n </th>\n <th style="width: 19%;">\n <span info-sys-data="functional-type">Density functional</span>\n </th>\n <th style="width: 13%;">\n <span info-sys-data="code-name">Code</span>\n </th>\n <th style="width: 17%;">\n <span info-sys-data="pseudopotential-type">Potential</span>\n </th>\n <th style="width: 12%;">\n <span info-sys-data="basis-set-type">Basis set</span>\n </th>\n <th style="width: 9%;"> </th>\n </tr>\n </thead>\n <tbody>\n <tr id="filter-items-row"></tr>\n </tbody>\n </table>\n </div>\n </div>\n ';
this.element.innerHTML += '\n <div>\n <div style="display: flex; justify-content: flex-end;">\n <div class="filter-groups-c-folded" >\n <span style="vertical-align: top;">Filtering &nbsp;&nbsp;</span>\n </div>\n <div class="filter-c-btn" >\n <img src="' + util.IMAGE_DIR + 'folded.png" />\n <!--<button class="on">filter</button> -->\n </div>\n </div>\n <div class="filter-groups-c-unfolded" style="display: none">\n <table style="width: 100%;">\n <thead>\n <tr>\n <th style="width: 12%;"> </th>\n <th style="width: 16%;">\n <span>Type</span>\n </th>\n <th style="width: 18%;">\n <span info-sys-data="functional-type">Density functional</span>\n </th>\n <th style="width: 12%;">\n <span info-sys-data="code-name">Code</span>\n </th>\n <th style="width: 16%;">\n <span info-sys-data="pseudopotential-type">Potential</span>\n </th>\n <th style="width: 11%;">\n <span info-sys-data="basis-set-type">Basis set</span>\n </th>\n <!-- <th style="width: 9%;"> </th> -->\n </tr>\n </thead>\n <tbody>\n <tr id="filter-items-row"></tr>\n </tbody>\n </table>\n </div>\n </div>\n ';
//this.foldedPanel = this.element.querySelector('.filter-groups-c-folded');
this.unfoldedPanel = this.element.querySelector('.filter-groups-c-unfolded');
this.filterItemsRow = this.element.querySelector('#filter-items-row');
......@@ -6103,7 +6103,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
this.addGroupItems(lCodeMap);
this.addGroupItems(lPotentialMap);
this.addGroupItems(lBasicSetMap);
this.filterItemsRow.innerHTML += '<td></td>'; // link column
//this.filterItemsRow.innerHTML += '<td></td>'; // link column
}
}, {
key: 'addGroupItems',
......@@ -6301,7 +6301,6 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (DataStore.getGroups().has(c.id)) {
//leafId))
calcType = DataStore.getGroupType(c.id); //leafId);
if (calcType === 'convergence') calcType = 'parameter variation';
//console.log('Group',DataStore.getGroupType(leafId));
}
......
......@@ -676,13 +676,13 @@ function getGroups(){
function getGroupTypeCode(group){
if (group.group_type === 'equation of state') return 'eos';
else if (group.group_type === 'convergence') return 'par';
else if (group.group_type === 'parameter variation') return 'par';
}
function getGroupType(leafId){
let code = leafId.substring(0,3);
if (code === 'eos') return 'equation of state';
else if (code === 'par') return 'convergence';
else if (code === 'par') return 'parameter variation';
else return null;
}
......@@ -7214,7 +7214,6 @@ class MethodologyDetails extends DetailsViewBase {
let calcType = c.run_type;
if (DataStore.getGroups().has(c.id)){//leafId))
calcType = DataStore.getGroupType(c.id);//leafId);
if (calcType === 'convergence') calcType = 'parameter variation';
//console.log('Group',DataStore.getGroupType(leafId));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment