Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit dc84532

Browse files
authored
Merge pull request #174 from lekoenig/171-replace-hard-coded-config-options
Replace hard-coded prediction dates in Snakefile_base.smk
2 parents d873ac8 + 82f54b4 commit dc84532

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

2a_model/src/models/Snakefile_base.smk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ rule make_predictions:
107107
weight_dir = input[1] + "/"
108108
params.model.load_weights(weight_dir)
109109
preds = predict_from_arbitrary_data(raw_data_file=input[2],
110-
pred_start_date="1980-01-01",
111-
pred_end_date="2019-01-01",
110+
pred_start_date = config['train_start_date'],
111+
pred_end_date = config['val_end_date'],
112112
train_io_data=input[0],
113113
model=params.model,
114114
spatial_idx_name='site_id',

0 commit comments

Comments
 (0)