Skip to content

Commit 0ff058d

Browse files
committed
format
1 parent 79bf206 commit 0ff058d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

mphys/network/server.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,10 +418,16 @@ def _set_design_variables_into_the_server_problem(self, input_dict):
418418
).any():
419419
design_changed = True
420420
except Exception as e:
421-
print(f"SERVER: Unable to get val of {key} due to the following error:", flush=True)
421+
print(
422+
f"SERVER: Unable to get val of {key} due to the following error:",
423+
flush=True,
424+
)
422425
print(e, flush=True)
423-
print("This can occur with certain versions of OpenMDAO upon server restart, typically due to " +
424-
"IVCs/DVs defined within parallel groups. Assuming design has changed...", flush=True)
426+
print(
427+
"This can occur with certain versions of OpenMDAO upon server restart, typically due to "
428+
+ "IVCs/DVs defined within parallel groups. Assuming design has changed...",
429+
flush=True,
430+
)
425431
design_changed = True
426432
self.prob.set_val(key, input_dict["design_vars"][key]["val"])
427433
return self.comm.allreduce(design_changed, op=MPI.LOR)

0 commit comments

Comments
 (0)