snakemake workflow for performing a global sensitivity analysis of an OSeMOSYS model
7
stars
3
forks
source link
Bug: Heatmap script mixes the groups and assigns them incorrect values resulting in incorrect output #11
Open
Timon-R opened 7 months ago
In workflow/scripts/create_heatmap.py in line 120:
columns = list(set([x['group'] for x in parameters]))
The set() function rearranges the groups so that they don't match the correct columns. This makes the resulting heatmap incorrect.
I used the code
columns = list(Si['names'])
to solve the issue but just removing the set() function probably also works.