Add commented line regarding hack for unicode error in snakemake

This commit is contained in:
martavp 2021-01-12 11:57:22 +01:00
parent 6a7b1d5450
commit 918d803c0d

View File

@ -62,6 +62,7 @@ if __name__ == "__main__":
with open('config.yaml', encoding='utf8') as f:
snakemake.config = yaml.safe_load(f)
# This is a hack, to be replaced once snakemake is unicode-conform
if 'Secondary Forestry residues sawdust' in snakemake.config['biomass']['classes']['solid biomass']:
snakemake.config['biomass']['classes']['solid biomass'].remove('Secondary Forestry residues sawdust')
snakemake.config['biomass']['classes']['solid biomass'].append('Secondary Forestry residues sawdust')