You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you pass a session extra that looks like a number, e.g. --session-extras x=12.30, ReFrame will show it as a number when listing the information of that session, although it has correctly stored it as a string.
┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━┑│ UUID │ Start time │ End time │ Num runs │ Num cases │ x │ y │┝━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━┿━━━━━━━━━━━━━┿━━━━━━┿━━━━━━━┥│ 8d470a9a-505d-490f-a749-ae30aff0cd1f │ 20250226T152854+0100 │ 20250226T152856+0100 │ 1 │ 1 │ 12.3 │ 12.31 │┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━┙
Note that x's value is listed as 12.3 instead of 12.30.
Queries with string comparison though work as expected:
reframe --list-stored-sessions='?x=="12.30"'
┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━┑│ UUID │ Start time │ End time │ Num runs │ Num cases │ x │ y │┝━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━┿━━━━━━━━━━━━━┿━━━━━━┿━━━━━━━┥│ 8d470a9a-505d-490f-a749-ae30aff0cd1f │ 20250226T152854+0100 │ 20250226T152856+0100 │ 1 │ 1 │ 12.3 │ 12.31 │┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━┙
I think this is due to the default behaviour of tabulate that interprets table cells as numbers if they seem so.
The text was updated successfully, but these errors were encountered:
When you pass a session extra that looks like a number, e.g.
--session-extras x=12.30
, ReFrame will show it as a number when listing the information of that session, although it has correctly stored it as a string.Steps to reproduce
export RFM_ENABLE_RESULTS_STORAGE=y
--session-extras
Note that x's value is listed as 12.3 instead of 12.30.
reframe --list-stored-sessions='?x=="12.30"'
I think this is due to the default behaviour of
tabulate
that interprets table cells as numbers if they seem so.The text was updated successfully, but these errors were encountered: