From 383a397719132ab2f8c7ce678230f0521d161d46 Mon Sep 17 00:00:00 2001 From: Pilar Date: Fri, 28 May 2021 11:53:22 -0400 Subject: [PATCH] Sra step repaired. Wall changed to WallSurface in simplified_radiosity_algorithm.py. A decision on the internal names of the surfaces must be also taken (not yet). --- helper/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/helper.py b/helper/helper.py index 51fe0e9..3ae987d 100644 --- a/helper/helper.py +++ b/helper/helper.py @@ -23,10 +23,10 @@ class Helper: """ array = [] for i in range(0, 12): - days_of_month = cal.monthrange(2015, i+1) + days_of_month = cal.monthrange(2015, i+1)[1] total_hours = days_of_month * 24 array = np.concatenate((array, np.full(total_hours, i + 1))) - self._month_hour = pd.DataFrame(array, columns=cte.MONTH) + self._month_hour = pd.DataFrame(array, columns=[cte.MONTH]) return self._month_hour def get_mean_values(self, values):