From db6cdeed21178dfda83fe2fec6819fe10ecb5967 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Fri, 6 Jan 2023 17:27:08 +0100 Subject: [PATCH] Still had issues with _rand --- columbus/env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/columbus/env.py b/columbus/env.py index ea4bfc8..edb70e2 100644 --- a/columbus/env.py +++ b/columbus/env.py @@ -564,9 +564,9 @@ class ColumbusConfigDefined(ColumbusEnv): else: v = v_raw if k.endswith('_rand'): - print('_rand!') + v = self.conv_unit( + v_raw, target='px', axis='y' if k == 'height_rand' else 'x') if isinstance(v, int): - print('int!') n = k.replace('_rand', '') cur = getattr( entity, n)