Commit e92938f7 authored by Iker Hurtado's avatar Iker Hurtado
Browse files

One more 'data DOS tranformations' implementation (Issue 111 - Staging based on prod-032)(2)

parent 50885bd9
Pipeline #37478 passed with stages
in 1 minute and 56 seconds
......@@ -2175,7 +2175,7 @@
// Grouping enabled only for exciting
if (codeNameTrimed === 'exciting'){
console.log("applying grouping " +codeNameTrimed);
//console.log("applying grouping " +codeNameTrimed);
if (calcTree.has(functionalType)){
let functionalMap= calcTree.get(functionalType);
......@@ -4054,6 +4054,8 @@
dosValueFactor = 1/E_FACTOR;
else if (calcData.code_name === 'VASP')
dosValueFactor = 1/(E_FACTOR * calcData.cell_volume);
else if (calcData.code_name === 'FHI-aims')
dosValueFactor = 1;
// else general case
this.pointsSpin1 = [];
......
......@@ -55,6 +55,8 @@ class DOSPlotter extends InteractivePlotterBase{
dosValueFactor = 1/E_FACTOR;
else if (calcData.code_name === 'VASP')
dosValueFactor = 1/(E_FACTOR * calcData.cell_volume);
else if (calcData.code_name === 'FHI-aims')
dosValueFactor = 1;
// else general case
this.pointsSpin1 = [];
......
......@@ -42,7 +42,7 @@ function buildCalcTree(calcs, calcsInGroups){
// Grouping enabled only for exciting
if (codeNameTrimed === 'exciting'){
console.log("applying grouping " +codeNameTrimed);
//console.log("applying grouping " +codeNameTrimed);
if (calcTree.has(functionalType)){
let functionalMap= calcTree.get(functionalType);
......
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