Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3368a
)
Deal with float input in MemRepr
author
Anthony Geay
<anthony.geay@edf.fr>
Thu, 21 Mar 2024 13:13:01 +0000
(14:13 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Thu, 21 Mar 2024 13:13:01 +0000
(14:13 +0100)
src/Container/SALOME_ContainerHelper.py
patch
|
blob
|
history
diff --git
a/src/Container/SALOME_ContainerHelper.py
b/src/Container/SALOME_ContainerHelper.py
index ab42a5f0114bf44a1f30b774d8db394b92bdc4e9..70bd9d6f6a8ffb6635c088e04306d3e3034d04f9 100644
(file)
--- 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 = ""