Skip to content

Commit bec803d

Browse files
committed
solved #734
1 parent 162c17d commit bec803d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

providentia/statistics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ def get_selected_station_data(read_instance, canvas_instance, networkspecies,
173173
# set data array for timeseries
174174
data_array_ts = data_array_forecast_agg
175175

176-
# set time index
176+
# set time index, and set to self
177177
time_index = read_instance.time_index[:data_array_forecast_agg.shape[-1]]
178+
read_instance.time_index = time_index
178179

179180
# otherwise, set data array for timeseries and time_index
180181
else:

0 commit comments

Comments
 (0)