correct function names
Some checks failed
Mypy / mypy (push) Successful in 1m12s
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Pytest / pytest (3.14) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
Pytest / pytest (3.12) (push) Successful in 1m17s
Pytest / pytest (3.13) (push) Successful in 1m10s
Pytest / pytest (3.14) (push) Successful in 1m12s
Ruff / ruff (push) Failing after 1m0s

This commit is contained in:
Justus Kuhlmann 2026-04-09 11:11:48 +02:00
commit 9498c1dd73
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -3,6 +3,7 @@ from . import flags
from pathlib import Path from pathlib import Path
from typing import Any from typing import Any
def read_qcd2_par_file(fname: Path) -> dict[str, dict[str, Any]]: def read_qcd2_par_file(fname: Path) -> dict[str, dict[str, Any]]:
""" """
The subroutines written here have names according to the openQCD programs and functions that write out the data. The subroutines written here have names according to the openQCD programs and functions that write out the data.
@ -19,8 +20,8 @@ def read_qcd2_par_file(fname: Path) -> dict[str, dict[str, Any]]:
""" """
with open(fname, "rb") as fp: with open(fname, "rb") as fp:
lat_par_dict = flags.lat_parms_qcd2_write_lat_parms(fp) lat_par_dict = flags.lat_parms_write_lat_parms(fp)
bc_par_dict = flags.lat_parms_qcd2_write_bc_parms(fp) bc_par_dict = flags.lat_parms_write_bc_parms(fp)
fp.close() fp.close()
par_dict = {} par_dict = {}
par_dict["lat"] = lat_par_dict par_dict["lat"] = lat_par_dict