From 32eaa2037957e39f13b40589a948d3c94fb55a92 Mon Sep 17 00:00:00 2001 From: Samuel Letellier-Duchesne Date: Tue, 7 Sep 2021 15:59:00 -0400 Subject: [PATCH] code format --- archetypal/idfclass/idf.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/archetypal/idfclass/idf.py b/archetypal/idfclass/idf.py index 5242c771..646098dd 100644 --- a/archetypal/idfclass/idf.py +++ b/archetypal/idfclass/idf.py @@ -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(): @@ -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.