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
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:
parent
e654d7c1bb
commit
9498c1dd73
1 changed files with 3 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ from . import flags
|
|||
from pathlib import Path
|
||||
from typing import 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.
|
||||
|
|
@ -19,8 +20,8 @@ def read_qcd2_par_file(fname: Path) -> dict[str, dict[str, Any]]:
|
|||
"""
|
||||
|
||||
with open(fname, "rb") as fp:
|
||||
lat_par_dict = flags.lat_parms_qcd2_write_lat_parms(fp)
|
||||
bc_par_dict = flags.lat_parms_qcd2_write_bc_parms(fp)
|
||||
lat_par_dict = flags.lat_parms_write_lat_parms(fp)
|
||||
bc_par_dict = flags.lat_parms_write_bc_parms(fp)
|
||||
fp.close()
|
||||
par_dict = {}
|
||||
par_dict["lat"] = lat_par_dict
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue