Skip to content

Commit 32eaa20

Browse files
code format
1 parent 74cc3b5 commit 32eaa20

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

archetypal/idfclass/idf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,9 @@ def simulate(self, force=False, **kwargs):
13131313
:attr:`IDF.simulation_files`, :attr:`IDF.processed_results` for simulation outputs.
13141314
13151315
"""
1316-
if self.simulation_dir.exists() and not force: # don't simulate if results exists
1316+
if (
1317+
self.simulation_dir.exists() and not force
1318+
): # don't simulate if results exists
13171319
return self
13181320
# First, update keys with new values
13191321
for key, value in kwargs.items():
@@ -1931,7 +1933,9 @@ def removeidfobject(self, idfobject):
19311933
self._reset_dependant_vars("idfobjects")
19321934

19331935
def removeidfobjects(self, idfobjects):
1934-
"""Remove an IDF object from the model.
1936+
"""Remove multiple IDF objects from the model.
1937+
1938+
Resetting dependent variables will wait after all objects have been removed.
19351939
19361940
Args:
19371941
idfobject (EpBunch): The object to remove from the model.

0 commit comments

Comments
 (0)