Closed andrewlee94 closed 2 months ago
@andrewlee94 it looks like many tests directly call _build_state_blocks
, and since self.flow_basis = None
and self.uom = None
are set in build
these attributes don't exist in the tests. Should the tests call build
instead?
@bpaul4 No - I just didn't think I'd need to update the tests.
Attention: Patch coverage is 95.23810%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 77.62%. Comparing base (
45c8ff0
) to head (83ac3c3
).
Files | Patch % | Lines |
---|---|---|
idaes/models/unit_models/mscontactor.py | 95.23% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes None
Summary/Motivation:
For unit models deriving from the MSContactor, or using it a a building block, it is often necessary to know the units of measurement used for the unit model variables. This PR gets the MSContactor to store these as attributes so that deriving models can make use of them.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: