Skip to content

Commit

Permalink
more on ekos names
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Jul 8, 2024
1 parent 453bc45 commit adf5bb8
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/pineko/theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,18 +427,8 @@ def fk(self, name, grid_path, tcard, pdf):
grid.optimize()

# Do you need one or multiple ekos?
kv = grid.key_values()
conv_type_a, conv_type_b = evolve.get_ekos_convolution_type(kv)

# setup data
if conv_type_b is None or conv_type_a == conv_type_b:
eko_filename = [self.ekos_path() / f"{name}.tar"]
else:
eko_filename = [
self.ekos_path() / f"{name}_{conv_type_a}.tar",
self.ekos_path() / f"{name}_{conv_type_b}.tar",
]

names = get_eko_names(grid, name)
eko_filename = [self.ekos_path() / f"{ekoname}.tar" for ekoname in names]
fk_filename = self.fks_path / f"{name}.{parser.EXT}"
if fk_filename.exists():
if not self.overwrite:
Expand Down

0 comments on commit adf5bb8

Please sign in to comment.