From 323a139c8fff95c63af2b9d59c7e0a2a6d94d792 Mon Sep 17 00:00:00 2001 From: Tanishq Sharma <99052355+t7phy@users.noreply.github.com> Date: Thu, 29 Feb 2024 18:07:36 +0100 Subject: [PATCH 1/3] Update evolve.py --- src/pineko/evolve.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pineko/evolve.py b/src/pineko/evolve.py index 8519ba35..1c4704ea 100644 --- a/src/pineko/evolve.py +++ b/src/pineko/evolve.py @@ -156,7 +156,11 @@ def write_operator_card(pineappl_grid, default_card, card_path, tcard): kv = pineappl_grid.key_values() if "polarized" in kv: operators_card["configs"]["polarized"] = kv["polarized"] == "True" - + + # fragmentation function grid? + if "timelike_evol" in kv: + operators_card["configs"]["timelike"] = kv["timelike_evol"] == "True" + # Some safety checks if ( operators_card["configs"]["evolution_method"] == "truncated" From b015fa3ca752f9cbebdf1b7fd923f8bb3e0870e8 Mon Sep 17 00:00:00 2001 From: Tanishq Sharma <99052355+t7phy@users.noreply.github.com> Date: Thu, 29 Feb 2024 18:11:36 +0100 Subject: [PATCH 2/3] Update evolve.py --- src/pineko/evolve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pineko/evolve.py b/src/pineko/evolve.py index 1c4704ea..51f7e0bd 100644 --- a/src/pineko/evolve.py +++ b/src/pineko/evolve.py @@ -156,11 +156,11 @@ def write_operator_card(pineappl_grid, default_card, card_path, tcard): kv = pineappl_grid.key_values() if "polarized" in kv: operators_card["configs"]["polarized"] = kv["polarized"] == "True" - + # fragmentation function grid? if "timelike_evol" in kv: operators_card["configs"]["timelike"] = kv["timelike_evol"] == "True" - + # Some safety checks if ( operators_card["configs"]["evolution_method"] == "truncated" From d0c726250f5abf954ac97b6a31d34e1c2f3da91e Mon Sep 17 00:00:00 2001 From: Tanishq Sharma <99052355+t7phy@users.noreply.github.com> Date: Fri, 1 Mar 2024 13:47:16 +0100 Subject: [PATCH 3/3] Update src/pineko/evolve.py based on suggestion Co-authored-by: Felix Hekhorn --- src/pineko/evolve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pineko/evolve.py b/src/pineko/evolve.py index 51f7e0bd..dcf005b8 100644 --- a/src/pineko/evolve.py +++ b/src/pineko/evolve.py @@ -158,8 +158,8 @@ def write_operator_card(pineappl_grid, default_card, card_path, tcard): operators_card["configs"]["polarized"] = kv["polarized"] == "True" # fragmentation function grid? - if "timelike_evol" in kv: - operators_card["configs"]["timelike"] = kv["timelike_evol"] == "True" + if "timelike" in kv: + operators_card["configs"]["timelike"] = kv["timelike"] == "True" # Some safety checks if (