Skip to content

Commit a94d29a

Browse files
pesapstaadecker
authored andcommitted
Fix error of sorting of timeseries. Now it will sort by label, then by timeseries
1 parent 0a1fa14 commit a94d29a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

switch_model/wecc/get_inputs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ def query_db(full_config, skip_cf):
256256
where
257257
sampled_timeseries.time_sample_id = {time_sample_id}
258258
order by
259-
label;""",
259+
label desc,
260+
timeseries desc;""",
260261
)
261262

262263
# timepoints.csv

0 commit comments

Comments
 (0)