mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
feat: explicit check for Zeuthen_flow in read_gf_coupling added.
This commit is contained in:
parent
3336ac739e
commit
d0180d7967
2 changed files with 5 additions and 0 deletions
|
@ -613,6 +613,9 @@ def read_gf_coupling(path, prefix, c, dtr_cnfg=1, Zeuthen_flow=True, **kwargs):
|
|||
if T != L:
|
||||
raise Exception("The required lattice norm is only implemented for T=L at the moment.")
|
||||
|
||||
if Zeuthen_flow is not True:
|
||||
raise Exception("The required lattice norm is only implemented for the Zeuthen flow at the moment.")
|
||||
|
||||
t = (c * L) ** 2 / 8
|
||||
|
||||
normdict = {4: 0.012341170468270,
|
||||
|
|
|
@ -106,3 +106,5 @@ def test_gf_coupling():
|
|||
gf = pe.input.openQCD.read_gf_coupling(path, prefix, c=0.3)
|
||||
with pytest.raises(Exception):
|
||||
pe.input.openQCD.read_gf_coupling(path, prefix, c=0.35)
|
||||
with pytest.raises(Exception):
|
||||
pe.input.openQCD.read_gf_coupling(path, prefix, c=0.3, Zeuthen_flow=False)
|
||||
|
|
Loading…
Add table
Reference in a new issue