TNO Intern

Commit c31277e0 authored by Florian Knappers's avatar Florian Knappers
Browse files

remove parts that let pipeline fail

parent ede10b48
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ platforms = ["win-64", "linux-64"]

[tool.pixi.pypi-dependencies]
pythermogis = { path = ".", editable = true }
pydoubletcalc = { path = 'C:\Users\knappersfy\work\thermogis\pydoubletcalc', editable = true }
#pydoubletcalc = { path = 'C:\Users\knappersfy\work\thermogis\pydoubletcalc', editable = true }

[tool.pixi.tasks]
test = "PYTHONPATH=src/pythermogis pytest -s tests/"
+24 −24
Original line number Diff line number Diff line
import matplotlib.pyplot as plt

from pythermogis.workflow.utc.configuration import UTCConfiguration
from pythermogis.workflow.utc.utc import run_utc_workflow

def test_rosl_roslu():
    """
    Integration test that runs the whole ROSL_ROSLU aquifer.
    The input is identical to the java 2.5.3 input.
    The output is compared to the java output.
    """
    config = UTCConfiguration(
        input_data_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/input",
        results_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/output",
        aquifers=["ROSL_ROSLU"],
        segment_length=1,
        p_values=[95] # For now only calculating this value, because it is way faster than 50
    )
    result = run_utc_workflow(config)

    result.ROSL_ROSLU.utc_p95.plot() # should match p value in config
    plt.show()

    print(result)
 No newline at end of file
# import matplotlib.pyplot as plt
#
# from pythermogis.workflow.utc.configuration import UTCConfiguration
# from pythermogis.workflow.utc.utc import run_utc_workflow
#
# def test_rosl_roslu():
#     """
#     Integration test that runs the whole ROSL_ROSLU aquifer.
#     The input is identical to the java 2.5.3 input.
#     The output is compared to the java output.
#     """
#     config = UTCConfiguration(
#         input_data_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/input",
#         results_dir="C:/Users/knappersfy/work/thermogis/pythermogis/workdir/ROSL_ROSLU/output",
#         aquifers=["ROSL_ROSLU"],
#         segment_length=1,
#         p_values=[50] # For now only calculating this value, because it is way faster than 50
#     )
#     result = run_utc_workflow(config)
#
#     result.ROSL_ROSLU.utc_p50.plot() # should match p value in config
#     plt.show()
#
#     print(result)
 No newline at end of file