Skip to content

Commit 6e626ed

Browse files
authored
parse min and max attribute (#170)
1 parent 64d89a1 commit 6e626ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

OMPython/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,9 +988,15 @@ def xmlparse(self):
988988
scalar["aliasvariable"] = sv.get('aliasVariable')
989989
ch = list(sv)
990990
start = None
991+
min = None
992+
max = None
991993
for att in ch:
992994
start = att.get('start')
995+
min = att.get('min')
996+
max = att.get('max')
993997
scalar["start"] =start
998+
scalar["min"] = min
999+
scalar["max"] = max
9941000

9951001
if(self.linearizationFlag==False):
9961002
if(scalar["variability"]=="parameter"):

0 commit comments

Comments
 (0)