ParaSeries: fix behavior with faulty parameter values
If model failed to recompute with some parameter value, paraseries failed altogether due to a coding error in console log message. Fixed. Now, the behavior that was intended from the beginning is observed: the shape that failed to be produced is replaced with a fail marker, and the error is just logged to console.
This commit is contained in:
parent
31e9d3385e
commit
4550c51454
|
@ -230,7 +230,7 @@ class LatticeParaSeries(lattice2BaseFeature.LatticeFeature):
|
||||||
shape = None
|
shape = None
|
||||||
for obj in doc2.Objects:
|
for obj in doc2.Objects:
|
||||||
if 'Invalid' in obj.State:
|
if 'Invalid' in obj.State:
|
||||||
lattice2Executer.error(obj,"Recomputing shape for parameter value of "+val+" failed.")
|
lattice2Executer.error(obj,"Recomputing shape for parameter value of "+repr(row)+" failed.")
|
||||||
|
|
||||||
scale = 1.0
|
scale = 1.0
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user