From 4d98cd8662794b860cfa3795d626aed0337f1539 Mon Sep 17 00:00:00 2001 From: pesap Date: Wed, 20 Oct 2021 13:38:29 -0700 Subject: [PATCH] Fixing params for hydro module --- switch_model/wecc/get_inputs/get_inputs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/switch_model/wecc/get_inputs/get_inputs.py b/switch_model/wecc/get_inputs/get_inputs.py index 99390fd1f..c4c8600e5 100755 --- a/switch_model/wecc/get_inputs/get_inputs.py +++ b/switch_model/wecc/get_inputs/get_inputs.py @@ -659,8 +659,8 @@ def query_db(full_config, skip_cf): p.label || '_M' || date_part('month', timestamp_utc) AS tp_to_hts FROM switch.sampled_timepoint AS tp JOIN switch.period AS p USING(period_id, study_timeframe_id) - WHERE time_sample_id = {time_sample_id} - AND study_timeframe_id = {study_timeframe_id} + WHERE time_sample_id = {params.time_sample_id} + AND study_timeframe_id = {params.study_timeframe_id} ORDER BY 1; """, )