Skip to content

Commit dfd5288

Browse files
committed
Remove properties folder
1 parent 444c862 commit dfd5288

File tree

9 files changed

+7
-43
lines changed

9 files changed

+7
-43
lines changed

glhe/input_processor/input_processor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
from pathlib import Path
44

55
from jsonschema import SchemaError, ValidationError, validate
6+
from scp.water import Water
67

78
from glhe.ground_temps.ground_temp_factory import make_ground_temp_model
89
from glhe.properties.fluid_factory import get_fluid
9-
from glhe.properties.base_properties import PropertiesBase
10+
from glhe.base_properties import PropertiesBase
1011
from glhe.functions import load_json, lower_obj
1112

1213

@@ -33,7 +34,7 @@ def __init__(self, json_input_path: Path):
3334

3435
# load properties for later use
3536
try:
36-
self.fluid = get_fluid(self.input_dict['fluid'])
37+
self.fluid = Water()
3738
except KeyError:
3839
pass
3940

glhe/properties/__init__.py

Whitespace-only changes.

glhe/properties/fluid_factory.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

glhe/properties/soil_properties.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

glhe/topology/pipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from glhe.interface.entry import SimulationEntryPoint
88
from glhe.interface.response import SimulationResponse
99
from glhe.output_processor.report_types import ReportTypes
10-
from glhe.properties.base_properties import PropertiesBase
10+
from glhe.base_properties import PropertiesBase
1111
from glhe.functions import lin_interp
1212
from glhe.functions import smoothing_function
1313
from glhe.functions import tdma_1

glhe/topology/single_u_tube_grouted_borehole.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from glhe.interface.entry import SimulationEntryPoint
55
from glhe.interface.response import SimulationResponse
66
from glhe.output_processor.report_types import ReportTypes
7-
from glhe.properties.base_properties import PropertiesBase
7+
from glhe.base_properties import PropertiesBase
88
from glhe.topology.pipe import Pipe
99
from glhe.topology.single_u_tube_grouted_segment import SingleUTubeGroutedSegment, TimeStepStructure
1010
from glhe.topology.single_u_tube_pass_through_segment import SingleUTubePassThroughSegment

glhe/topology/single_u_tube_grouted_segment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from glhe.input_processor.component_types import ComponentTypes
88
from glhe.output_processor.report_types import ReportTypes
9-
from glhe.properties.base_properties import PropertiesBase
9+
from glhe.base_properties import PropertiesBase
1010
from glhe.topology.pipe import Pipe
1111
# from glhe.utilities.functions import runge_kutta_fourth_y
1212

unit_tests/glhe/properties/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from glhe.properties.base_properties import PropertiesBase
3+
from glhe.base_properties import PropertiesBase
44

55

66
class TestBaseProperties(unittest.TestCase):

0 commit comments

Comments
 (0)