Describe the bug
Two bugs.
- The return type of
from_list functions is None instead of int for the size (DoubleArray, IntegerArray and StringArray).
- The available color band range is incomplete, it should be from 1 to 256 not 2 to 64 + [256].
To Reproduce
Steps to reproduce the behavior:
- Call
IntegerArray.from_list([1, 2, 3]) and the return will be None instead of 3.
- Set
Plot.color_bands = 1 and an error will be raised erroneously.
Expected behavior
Calling from_list on a data object should return the size in the form of an int.
Setting the color_bands property of a plot should work for values 1 to 256.
Error Message
N/A.
Environment:
- OS: [e.g. Windows 11]
- Python Version: [e.g. 3.13.7]
- Package Version: [e.g. 26.0.0]
- Moldflow Synergy Version: [e.g. 2026.0.1]
Additional context
N/A.
Describe the bug
Two bugs.
from_listfunctions isNoneinstead ofintfor the size (DoubleArray, IntegerArray and StringArray).To Reproduce
Steps to reproduce the behavior:
IntegerArray.from_list([1, 2, 3])and the return will beNoneinstead of3.Plot.color_bands = 1and an error will be raised erroneously.Expected behavior
Calling
from_liston a data object should return the size in the form of anint.Setting the
color_bandsproperty of a plot should work for values 1 to 256.Error Message
N/A.
Environment:
Additional context
N/A.