Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve runner API #296

Merged
merged 16 commits into from
Aug 9, 2024
Merged
Prev Previous commit
Next Next commit
Remove outdated test
alecandido committed Aug 16, 2023
commit 38c3d1b0ecb00b1345a483991aa66e68e4343e38
2 changes: 1 addition & 1 deletion extras/matching/check-matching.py
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ def collect_data():
data = {}
pdf = toy.mkPDF("", 0)
for id in th_updates.keys():
with eko.EKO.open(f"./eko_{id}.tar") as evolution_operator:
with eko.EKO.read(f"./eko_{id}.tar") as evolution_operator:
x = evolution_operator.metadata.rotations.targetgrid.raw
data[id] = {
mu2: el["pdfs"]
2 changes: 0 additions & 2 deletions tests/eko/io/test_struct.py
Original file line number Diff line number Diff line change
@@ -36,8 +36,6 @@ def test_load_error(self, tmp_path):
no_tar_path.write_text("Blub", encoding="utf-8")
with pytest.raises(ValueError, match="tar"):
struct.EKO.read(no_tar_path)
with pytest.raises(ValueError, match="file mode"):
struct.EKO.open(no_tar_path, "ü")

def test_properties(self, eko_factory: EKOFactory):
mu = 10.0