From 9d85814d0c4b73d0f8ecfd49a8a41aaf4d9ef107 Mon Sep 17 00:00:00 2001 From: pyiron-runner Date: Fri, 26 Jan 2024 16:57:12 +0000 Subject: [PATCH] Format black --- pysqa/utils/basic.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pysqa/utils/basic.py b/pysqa/utils/basic.py index ad8696c6..9b702a15 100644 --- a/pysqa/utils/basic.py +++ b/pysqa/utils/basic.py @@ -524,9 +524,11 @@ def _value_in_range(cls, value, value_min=None, value_max=None): if value is not None: value_, value_min_, value_max_ = [ - cls._memory_spec_string_to_value(v) - if v is not None and isinstance(v, str) - else v + ( + cls._memory_spec_string_to_value(v) + if v is not None and isinstance(v, str) + else v + ) for v in (value, value_min, value_max) ] # ATTENTION: '60000' is interpreted as '60000M' since default magnitude is 'M'