Commit 9370414f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed wrong group type name for parameter variation.

parent 6f076b65
......@@ -105,13 +105,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;
......@@ -427,7 +427,6 @@ class MethodologyDetails extends DetailsViewBase {
let calcType = c.run_type;
if (DataStore.getGroups().has({//leafId))
calcType = DataStore.getGroupType(;//leafId);
if (calcType === 'convergence') calcType = 'parameter variation';
Supports Markdown
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