Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/doc_theme' into doc_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Jan 26, 2024
2 parents 436f31c + 9d85814 commit be63413
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pysqa/utils/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit be63413

Please sign in to comment.