From 6486c7c1d59f3468db834f9f39f98ab8fb8064ac Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 19 Sep 2023 15:58:37 -0400 Subject: [PATCH] Update execsummary.py --- xcp_d/interfaces/execsummary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcp_d/interfaces/execsummary.py b/xcp_d/interfaces/execsummary.py index 08d6caa11..bb9dc1c22 100644 --- a/xcp_d/interfaces/execsummary.py +++ b/xcp_d/interfaces/execsummary.py @@ -215,7 +215,7 @@ def collect_inputs(self): # Convert any floats in the name to ints temp_dict = task_entity_namer[i_set] temp_dict = { - key: int(value) if np.isscalar(value) and value.is_integer() else value + key: int(value) if np.isscalar(value) and float(value).is_integer() else value for key, value in temp_dict.items() } task_file_figures["key"] = "_".join([f"{k}-{v}" for k, v in temp_dict.items()])