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:
DeepSOIC 2016-02-08 00:05:30 +03:00
parent 31e9d3385e
commit 4550c51454

View File

@ -230,7 +230,7 @@ class LatticeParaSeries(lattice2BaseFeature.LatticeFeature):
shape = None
for obj in doc2.Objects:
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
try: