Skip to content

Commit dbc3978

Browse files
committed
fix formatting, bump min python to 3.11
1 parent 0f98b0b commit dbc3978

File tree

3 files changed

+479
-518
lines changed

3 files changed

+479
-518
lines changed

alfalfa_worker/jobs/openstudio/step_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def add_additional_meter(fuel: str, units: str, converter: Callable[[float], flo
144144
self.variables.points[id]["output"]["handle"] = get_handle(point["output"]["type"], point["output"]["parameters"])
145145
except JobException as e:
146146
if point["optional"]:
147-
self.logger.warn(f"Ignoring optional point '{point["name"]}'")
147+
self.logger.warn(f"Ignoring optional point '{point['name']}'")
148148
self.run.get_point_by_id(id).delete()
149149
else:
150150
exceptions.append(e)
@@ -202,7 +202,7 @@ def ep_read_outputs(self):
202202
else:
203203
raise JobException(f"Invalid point type: {type}")
204204
if "multiplier" in component:
205-
self.logger.info(f"Applying a multiplier of '{component["multiplier"]}' to point '{point["name"]}'")
205+
self.logger.info(f"Applying a multiplier of '{component['multiplier']}' to point '{point['name']}'")
206206
value *= component["multiplier"]
207207
if self.ep_api.exchange.api_error_flag(self.ep_state):
208208
raise JobExceptionSimulation(f"EP returned an api error while reading from point: {point.name}")

0 commit comments

Comments
 (0)