Skip to content

Commit

Permalink
Removed unused imports and changed the import path for custom_spacer_…
Browse files Browse the repository at this point in the history
…base.py to watertap.core
  • Loading branch information
charansamineni committed Sep 24, 2024
1 parent b226d74 commit af722d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion watertap/core/custom_spacer_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# information, respectively. These files are also available online at the URL
# "https://github.com/watertap-org/watertap/"
#################################################################################
import numpy as np # Required for tracking the spacer performance variables
from enum import Enum, auto
from pyomo.core.expr.numeric_expr import sin as pysin
from pyomo.core.expr.numeric_expr import cos as pycos
Expand Down
3 changes: 1 addition & 2 deletions watertap/unit_models/ro_1D_custom_spacer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import idaes.logger as idaeslog
from pyomo.core import value

Check warning on line 23 in watertap/unit_models/ro_1D_custom_spacer.py

View check run for this annotation

Codecov / codecov/patch

watertap/unit_models/ro_1D_custom_spacer.py#L21-L23

Added lines #L21 - L23 were not covered by tests

from analysisWaterTAP.flowsheets.ro_spacer_optimization.custom_ro_base.custom_spacer_base import (
from watertap.core.custom_spacer_base import (

Check warning on line 25 in watertap/unit_models/ro_1D_custom_spacer.py

View check run for this annotation

Codecov / codecov/patch

watertap/unit_models/ro_1D_custom_spacer.py#L25

Added line #L25 was not covered by tests
_add_spacer_config,
CustomSpacer,
SpacerType,
Expand All @@ -35,7 +35,6 @@
)
from watertap.core.membrane_channel1d import CONFIG_Template
from idaes.core.util import scaling as iscale
from idaes.core.util.tables import create_stream_table_dataframe
from pyomo.common.formatting import tabular_writer
from idaes.core.util.units_of_measurement import report_quantity

Check warning on line 39 in watertap/unit_models/ro_1D_custom_spacer.py

View check run for this annotation

Codecov / codecov/patch

watertap/unit_models/ro_1D_custom_spacer.py#L36-L39

Added lines #L36 - L39 were not covered by tests

Expand Down

0 comments on commit af722d4

Please sign in to comment.