Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelduchesne committed Sep 7, 2021
1 parent 74cc3b5 commit 32eaa20
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions archetypal/idfclass/idf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,9 @@ def simulate(self, force=False, **kwargs):
:attr:`IDF.simulation_files`, :attr:`IDF.processed_results` for simulation outputs.
"""
if self.simulation_dir.exists() and not force: # don't simulate if results exists
if (
self.simulation_dir.exists() and not force
): # don't simulate if results exists
return self
# First, update keys with new values
for key, value in kwargs.items():
Expand Down Expand Up @@ -1931,7 +1933,9 @@ def removeidfobject(self, idfobject):
self._reset_dependant_vars("idfobjects")

def removeidfobjects(self, idfobjects):
"""Remove an IDF object from the model.
"""Remove multiple IDF objects from the model.
Resetting dependent variables will wait after all objects have been removed.
Args:
idfobject (EpBunch): The object to remove from the model.
Expand Down

0 comments on commit 32eaa20

Please sign in to comment.