Commit b7abdd33 authored by Sebastian Miller's avatar Sebastian Miller
Browse files

fixed waiting for predictions case

parent afdd8646
......@@ -404,6 +404,11 @@ class Predictor:
latest_real_value_ts
)
# If too little data has been obtained here, there is no point in its further processing.
predictions_num = predictions_data_raw.shape[0]
if predictions_num == 0:
return None, predictions_num
data = self._merge_real_and_prediction_values(
real_values_data_raw,
predictions_data_raw,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment