Compare commits
3 commits
f05caf572d
...
7ce9742ed5
| Author | SHA1 | Date | |
|---|---|---|---|
|
7ce9742ed5 |
|||
|
4853c0e414 |
|||
|
0c01d18ecb |
4 changed files with 4 additions and 4 deletions
2
.github/workflows/mypy.yaml
vendored
2
.github/workflows/mypy.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
2
.github/workflows/ruff.yaml
vendored
2
.github/workflows/ruff.yaml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue