diff --git a/scripts/build_renewable_profiles.py b/scripts/build_renewable_profiles.py index 2b95e669..b6ac6c65 100644 --- a/scripts/build_renewable_profiles.py +++ b/scripts/build_renewable_profiles.py @@ -202,7 +202,7 @@ if __name__ == '__main__': configure_logging(snakemake) pgb.streams.wrap_stderr() - nprocesses = snakemake.config['atlite'].get('nprocesses') + nprocesses = int(snakemake.threads) noprogress = not snakemake.config['atlite'].get('show_progress', True) config = snakemake.config['renewable'][snakemake.wildcards.technology] resource = config['resource'] # pv panel config / wind turbine config