Skip to content

Commit 812d7c6

Browse files
committed
[ModelicaSystem] fix invalid logger call
1 parent f16a61f commit 812d7c6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,10 +1044,10 @@ def setParameters(self, pvals): # 14
10441044
def isParameterChangeable(self, name, value):
10451045
q = self.getQuantities(name)
10461046
if q[0]["changeable"] == "false":
1047-
logger.verbose(f"setParameters() failed : It is not possible to set the following signal {repr(name)}. "
1048-
"It seems to be structural, final, protected or evaluated or has a non-constant binding, "
1049-
f"use sendExpression(\"setParameterValue({self.modelName}, {name}, {value})\") "
1050-
"and rebuild the model using buildModel() API")
1047+
logger.debug(f"setParameters() failed : It is not possible to set the following signal {repr(name)}. "
1048+
"It seems to be structural, final, protected or evaluated or has a non-constant binding, "
1049+
f"use sendExpression(\"setParameterValue({self.modelName}, {name}, {value})\") "
1050+
"and rebuild the model using buildModel() API")
10511051
return False
10521052
return True
10531053

0 commit comments

Comments
 (0)