use snakemake.threads in build_renewable_profiles
This commit is contained in:
parent
c4423d43a8
commit
ca94709ed3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user