Loading pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "geoloop" version = "1.0.1" version = "1.0.2" description = "This is a Python package for simulation of (deep) vertical Borehole Heat Exchanger (BHE) systems" authors = [ { name = "Zanne Korevaar", email = "zanne.korevaar@tno.nl" }, Loading src/geoloop/constants.py +0 −12 Original line number Diff line number Diff line from pathlib import Path repo_path = Path(__file__).parent.parent.parent # Test directories test_dir = repo_path / "test" tests_input_path = test_dir / "input" test_output_path = test_dir / "output" # Resources directory resources_path = repo_path / "resources" # Dictionary of units for various parameters in the model. units_dict = { "Q_b": "W", Loading test/paths.py 0 → 100644 +6 −0 Original line number Diff line number Diff line from pathlib import Path # Test directories test_dir = Path(__file__).parent tests_input_path = test_dir / "input" test_output_path = test_dir / "output" No newline at end of file test/test_b2g.py +2 −1 Original line number Diff line number Diff line Loading @@ -4,10 +4,11 @@ from pathlib import Path import numpy as np import xarray as xr from paths import test_dir, tests_input_path from geoloop.configuration import SingleRunConfig, LithologyConfig, load_nested_config from geoloop.utils.helpers import save_singlerun_results from geoloop.bin.SingleRunSim import SingleRun from geoloop.constants import test_dir, tests_input_path from geoloop.geoloopcore.b2g import B2G from geoloop.lithology.process_lithology import ProcessLithologyToThermalConductivity Loading test/test_b2g_ana.py +2 −1 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ from pathlib import Path import numpy as np import xarray as xr from paths import test_dir, tests_input_path from geoloop.configuration import SingleRunConfig, load_nested_config, LithologyConfig, StochasticRunConfig from geoloop.utils.helpers import ( save_MCrun_results, Loading @@ -11,7 +13,6 @@ from geoloop.utils.helpers import ( ) from geoloop.utils.RunManager import run_models from geoloop.bin.SingleRunSim import SingleRun from geoloop.constants import test_dir, tests_input_path from geoloop.geoloopcore.b2g_ana import B2G_ana from geoloop.lithology.process_lithology import ProcessLithologyToThermalConductivity Loading Loading
pyproject.toml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "geoloop" version = "1.0.1" version = "1.0.2" description = "This is a Python package for simulation of (deep) vertical Borehole Heat Exchanger (BHE) systems" authors = [ { name = "Zanne Korevaar", email = "zanne.korevaar@tno.nl" }, Loading
src/geoloop/constants.py +0 −12 Original line number Diff line number Diff line from pathlib import Path repo_path = Path(__file__).parent.parent.parent # Test directories test_dir = repo_path / "test" tests_input_path = test_dir / "input" test_output_path = test_dir / "output" # Resources directory resources_path = repo_path / "resources" # Dictionary of units for various parameters in the model. units_dict = { "Q_b": "W", Loading
test/paths.py 0 → 100644 +6 −0 Original line number Diff line number Diff line from pathlib import Path # Test directories test_dir = Path(__file__).parent tests_input_path = test_dir / "input" test_output_path = test_dir / "output" No newline at end of file
test/test_b2g.py +2 −1 Original line number Diff line number Diff line Loading @@ -4,10 +4,11 @@ from pathlib import Path import numpy as np import xarray as xr from paths import test_dir, tests_input_path from geoloop.configuration import SingleRunConfig, LithologyConfig, load_nested_config from geoloop.utils.helpers import save_singlerun_results from geoloop.bin.SingleRunSim import SingleRun from geoloop.constants import test_dir, tests_input_path from geoloop.geoloopcore.b2g import B2G from geoloop.lithology.process_lithology import ProcessLithologyToThermalConductivity Loading
test/test_b2g_ana.py +2 −1 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ from pathlib import Path import numpy as np import xarray as xr from paths import test_dir, tests_input_path from geoloop.configuration import SingleRunConfig, load_nested_config, LithologyConfig, StochasticRunConfig from geoloop.utils.helpers import ( save_MCrun_results, Loading @@ -11,7 +13,6 @@ from geoloop.utils.helpers import ( ) from geoloop.utils.RunManager import run_models from geoloop.bin.SingleRunSim import SingleRun from geoloop.constants import test_dir, tests_input_path from geoloop.geoloopcore.b2g_ana import B2G_ana from geoloop.lithology.process_lithology import ProcessLithologyToThermalConductivity Loading