From 194f47690cb210742fe0e6ae0739707712ca7539 Mon Sep 17 00:00:00 2001 From: tannerpolley Date: Fri, 15 Nov 2024 14:20:35 -0700 Subject: [PATCH] Ran Black on these files --- idaes/models/unit_models/stream_scaler.py | 4 +++- idaes/models/unit_models/tests/test_stream_scaler.py | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idaes/models/unit_models/stream_scaler.py b/idaes/models/unit_models/stream_scaler.py index 51c00a88a2..1b6455eb0d 100644 --- a/idaes/models/unit_models/stream_scaler.py +++ b/idaes/models/unit_models/stream_scaler.py @@ -233,7 +233,9 @@ def calculate_scaling_factors(self): else: default = 1 / self.multiplier.value - scale = iscale.get_scaling_factor(self.multiplier, default=default, warning=False) + scale = iscale.get_scaling_factor( + self.multiplier, default=default, warning=False + ) for var_name in self.inlet.vars.keys(): var = getattr(self.inlet, var_name) outlet_expr = getattr(self.outlet, var_name) diff --git a/idaes/models/unit_models/tests/test_stream_scaler.py b/idaes/models/unit_models/tests/test_stream_scaler.py index 9251df3c98..8d58ad868c 100644 --- a/idaes/models/unit_models/tests/test_stream_scaler.py +++ b/idaes/models/unit_models/tests/test_stream_scaler.py @@ -275,9 +275,7 @@ def test_solve(self, btx): @pytest.mark.skipif(solver is None, reason="Solver not available") @pytest.mark.component def test_solution(self, btx): - assert pytest.approx(5, abs=1e-3) == value( - btx.fs.unit.inlet.flow_mol[0] - ) + assert pytest.approx(5, abs=1e-3) == value(btx.fs.unit.inlet.flow_mol[0]) assert pytest.approx(0.5, abs=1e-3) == value( btx.fs.unit.inlet.mole_frac_comp[0, "benzene"] )