Prechádzať zdrojové kódy

Add the message about resampling

Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
Vadim Markovtsev 7 rokov pred
rodič
commit
5eba6dd334
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      labours.py

+ 1 - 0
labours.py

@@ -495,6 +495,7 @@ def load_burndown(header, name, matrix, resample):
     print(name, "lifetime index:", calculate_average_lifetime(matrix))
     print(name, "lifetime index:", calculate_average_lifetime(matrix))
     finish = start + timedelta(days=matrix.shape[1] * sampling)
     finish = start + timedelta(days=matrix.shape[1] * sampling)
     if resample not in ("no", "raw"):
     if resample not in ("no", "raw"):
+        print("resampling to %s, please wait..." % resample)
         # Interpolate the day x day matrix.
         # Interpolate the day x day matrix.
         # Each day brings equal weight in the granularity.
         # Each day brings equal weight in the granularity.
         # Sampling's interpolation is linear.
         # Sampling's interpolation is linear.