Loading src/geoloop/constants.py −12 Changes for src/geoloop/constants.py: 0 added lines, 12 removed lines. 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 +6 Changes for test/paths.py: 6 added lines, 0 removed lines. 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 Changes for test/test_b2g.py: 2 added lines, 1 removed line. 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 Changes for test/test_b2g_ana.py: 2 added lines, 1 removed line. 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 test/test_h5.py +2 −1 Changes for test/test_h5.py: 2 added lines, 1 removed line. 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 load_nested_config, SingleRunConfig, LithologyConfig 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.lithology.process_lithology import ProcessLithologyToThermalConductivity Loading Loading
src/geoloop/constants.py −12 Changes for src/geoloop/constants.py: 0 added lines, 12 removed lines. 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 +6 Changes for test/paths.py: 6 added lines, 0 removed lines. 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 Changes for test/test_b2g.py: 2 added lines, 1 removed line. 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 Changes for test/test_b2g_ana.py: 2 added lines, 1 removed line. 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
test/test_h5.py +2 −1 Changes for test/test_h5.py: 2 added lines, 1 removed line. 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 load_nested_config, SingleRunConfig, LithologyConfig 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.lithology.process_lithology import ProcessLithologyToThermalConductivity Loading