remove params from input as they are not exposed to input

This commit is contained in:
Fabian Neumann 2022-06-27 10:35:39 +02:00
parent 4d79a0dc96
commit fa43038564

View File

@ -170,10 +170,7 @@ if config['enable'].get('retrieve_cutout', True):
if config['enable'].get('retrieve_cost_data', True): if config['enable'].get('retrieve_cost_data', True):
rule retrieve_cost_data: rule retrieve_cost_data:
params: input: HTTP.remote(f"raw.githubusercontent.com/PyPSA/technology-data/{config['costs']['version']}/outputs/costs_{config['costs']['year']}.csv", keep_local=True)
year = config['costs']['year'],
version = config['costs']['version'],
input: HTTP.remote(f"raw.githubusercontent.com/PyPSA/technology-data/{params.version}/outputs/costs_{params.year}.csv", keep_local=True)
output: COSTS output: COSTS
run: move(input[0], output[0]) run: move(input[0], output[0])