Skip to content

Commit

Permalink
Use bin_left to get the q2grid
Browse files Browse the repository at this point in the history
  • Loading branch information
andreab1997 committed Oct 18, 2023
1 parent 34fd85d commit babe6ae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pineko/fonll.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,7 @@ def theorycard_no_fns_pto(self):
@property
def Q2grid(self):
"""The Q2grid of the (DIS) FK tables."""
obs = json.loads(self.fks[list(self.fks)[0]].key_values()["runcard"])[
"observables"
]
kins = list(obs.values())[
0
] # there is only a single observable because it's a dis fktable
return np.array([i["Q2"] for i in kins])
return self.fks[list(self.fks)[0]].bin_left(0)


# Notice we rely on the order defined by the FONLLInfo class
Expand Down

0 comments on commit babe6ae

Please sign in to comment.