Skip to content

Commit e48abb4

Browse files
committed
Fix error of sorting of timeseries. Now it will sort by label, then by timeseries
1 parent 67353ae commit e48abb4

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
@@ -253,7 +253,8 @@ def query_db(full_config, skip_cf):
253253
where
254254
sampled_timeseries.time_sample_id = {time_sample_id}
255255
order by
256-
label;""",
256+
label desc,
257+
timeseries desc;""",
257258
)
258259

259260
# timepoints.csv

0 commit comments

Comments
 (0)