diff --git a/src/pinefarm/external/integrability.py b/src/pinefarm/external/integrability.py index fffea83..74502c3 100644 --- a/src/pinefarm/external/integrability.py +++ b/src/pinefarm/external/integrability.py @@ -59,6 +59,7 @@ def __init__(self, *args, **kwargs): self._q2 = np.power(self.theory["Q0"], 2) self._info = _IntegrabilityRuncard(**yaml_dict) self._evo2fl = evolution_to_flavour(self._info.flavour) + self.polarized = yaml_dict.get("polarized", "False") def run(self): """Empty function.""" @@ -78,6 +79,7 @@ def generate_pineappl(self): grid.set_key_value("initial_state_2", str(self._info.lepton_pid)) grid.set_key_value("runcard", json.dumps(self._info.asdict())) grid.set_key_value("lumi_id_types", "pdg_mc_ids") + grid.set_key_value("polarized", self.polarized) # Fill grid with x*Tn # use subgrid because fill doesn't work? x = self._info.xgrid