Skip to content

Commit 8045c57

Browse files
committed
del old docu
1 parent 5aa085e commit 8045c57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

teaser/data/dataclass.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __init__(self,
112112

113113
def load_tb_binding(self):
114114
"""Load TypeBuildingElement json into binding classes."""
115-
if self.path_tb.endswith("json"):
115+
if str(self.path_tb).endswith("json"):
116116
if os.path.isfile(self.path_tb):
117117
try:
118118
with open(self.path_tb, "r") as f:
@@ -127,7 +127,7 @@ def load_tb_binding(self):
127127

128128
def load_uc_binding(self):
129129
"""Load UseConditions json into binding classes."""
130-
if self.path_uc.endswith("json"):
130+
if str(self.path_uc).endswith("json"):
131131
if os.path.isfile(self.path_uc):
132132
try:
133133
with open(self.path_uc, "r") as f:
@@ -142,7 +142,7 @@ def load_uc_binding(self):
142142

143143
def load_mat_binding(self):
144144
"""Load MaterialTemplates json into binding classes."""
145-
if self.path_mat.endswith("json"):
145+
if str(self.path_mat).endswith("json"):
146146
if os.path.isfile(self.path_mat):
147147
try:
148148
with open(self.path_mat, "r") as f:

teaser/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ def calc_all_buildings(self, raise_errors=False):
173173
number_of_elements_calc : int
174174
defines the number of elements, that area aggregated, between 1
175175
and 5, default is 2
176-
For AixLib you should always use 2 elements!!!
177176
178177
merge_windows_calc : bool
179178
True for merging the windows into the outer walls, False for
@@ -208,6 +207,7 @@ def calc_all_buildings(self, raise_errors=False):
208207
)
209208
self.buildings.remove(bldg)
210209

210+
211211
def retrofit_all_buildings(
212212
self,
213213
year_of_retrofit=None,

0 commit comments

Comments
 (0)