From a53e5c3f487bc9e966d89dd5ddd32e992146a0e6 Mon Sep 17 00:00:00 2001 From: Patricia Roman Sanchez Date: Tue, 8 Oct 2024 14:40:35 +0200 Subject: [PATCH] Fix linter issues --- toolium/utils/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolium/utils/dataset.py b/toolium/utils/dataset.py index afe79dae..2a559dd0 100644 --- a/toolium/utils/dataset.py +++ b/toolium/utils/dataset.py @@ -231,7 +231,7 @@ def _get_rounded_float_number(param): """ type_mapping_regex = r'\[(ROUND):([\w\W]*)\]' type_mapping_match_group = re.match(type_mapping_regex, param) - if type_mapping_match_group and type_mapping_match_group.group(1) == 'ROUND': + if type_mapping_match_group and type_mapping_match_group.group(1) == 'ROUND': replace_params = type_mapping_match_group.group(2).split('::') replace_param = f"{round(float(replace_params[0]), int(replace_params[1])):.{int(replace_params[1])}f}" return replace_param