Compare commits

...

3 commits

Author SHA1 Message Date
7ce9742ed5
fix invalid escape in docs
Some checks failed
Ruff / ruff (push) Waiting to run
Mypy / mypy (push) Failing after 1m11s
Pytest / pytest (3.12) (push) Has been cancelled
Pytest / pytest (3.14) (push) Has been cancelled
Pytest / pytest (3.13) (push) Has been cancelled
2026-03-20 15:59:45 +01:00
4853c0e414
fix type error for now 2026-03-20 15:58:33 +01:00
0c01d18ecb
use python 3.12 for mypy and ruff 2026-03-20 15:56:31 +01:00
4 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ jobs:
- name: Setup python - name: Setup python
uses: https://github.com/actions/setup-python@v5 uses: https://github.com/actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: "3.12"
- name: Install uv - name: Install uv
uses: https://github.com/astral-sh/setup-uv@v5 uses: https://github.com/astral-sh/setup-uv@v5
- name: Install corrlib - name: Install corrlib

View file

@ -23,7 +23,7 @@ jobs:
- name: Setup python - name: Setup python
uses: https://github.com/actions/setup-python@v5 uses: https://github.com/actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: "3.12"
- name: Install uv - name: Install uv
uses: https://github.com/astral-sh/setup-uv@v5 uses: https://github.com/astral-sh/setup-uv@v5
- name: Install corrlib - name: Install corrlib

View file

@ -119,7 +119,7 @@ def _db_lookup(db: str, ensemble: str, correlator_name: str, code: str, project:
def sfcf_filter(results: pd.DataFrame, **kwargs: Any) -> pd.DataFrame: def sfcf_filter(results: pd.DataFrame, **kwargs: Any) -> pd.DataFrame:
""" r"""
Filter method for the Database entries holding SFCF calculations. Filter method for the Database entries holding SFCF calculations.
Parameters Parameters

View file

@ -12,7 +12,7 @@ import shutil
from typing import Any from typing import Any
def write_measurement(path: str, ensemble: str, measurement: dict[str, dict[str, dict[str, Any]]], uuid: str, code: str, parameter_file: str) -> None: def write_measurement(path: str, ensemble: str, measurement: dict[str, dict[str, dict[str, Any]]], uuid: str, code: str, parameter_file: Union(Any, None)) -> None:
""" """
Write a measurement to the backlog. Write a measurement to the backlog.
If the file for the measurement already exists, update the measurement. If the file for the measurement already exists, update the measurement.