pypsa-eur icon indicating copy to clipboard operation
pypsa-eur copied to clipboard

snakemake.input.ch_industrial_production, index_col=0 -> NameError: name 'snakemake' is not defined

Open cerealice opened this issue 1 year ago • 0 comments

Checklist

Error Message

When running the script build_industrial__production_per_country.py the workflow stops do to the following error: snakemake.input.ch_industrial_production, index_col=0 -> NameError: name 'snakemake' is not defined This seems to be caused somehow by multiprocessing In my case I solved it by adding snakemake as an argument in the functions

  • get_energy_ratio
  • industry_production_per_country
  • industry_production

cerealice avatar Oct 01 '24 13:10 cerealice