From 74ae0daa1c23f96412c5c6b00cbae7dc2c253db1 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 21 Mar 2024 14:13:01 +0100 Subject: [PATCH] Deal with float input in MemRepr --- src/Container/SALOME_ContainerHelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Container/SALOME_ContainerHelper.py b/src/Container/SALOME_ContainerHelper.py index ab42a5f01..70bd9d6f6 100644 --- a/src/Container/SALOME_ContainerHelper.py +++ b/src/Container/SALOME_ContainerHelper.py @@ -34,7 +34,7 @@ class ScriptExecInfo: @classmethod def MemRepr(cls,memInByte): - m = memInByte + m = int( memInByte ) UNITS=["B","kB","MB","GB"] remain = 0 oss = "" -- 2.39.2