DREAM3D
DREAM3D copied to clipboard
DataArraySelectionWidget needs to validate the AttributeMatrix type and AttributeArray type when validating the path.
It is possible to insert a path (from a pipeline file) into the DataArraySelectionWidget where the AttributeMatrix is an invalid type but the preflight will still pass (somehow). Specific filters may not be enforcing the AttributeMatrix type at the DataCheck level.
In general, almost no filter actually checks the AttributeMatrix type during data check. This level of filtering is usually only done in the setupFilterParameters() function to help the user. The only thing that is usually enforced is for the total sizes to match (most general filters probably shouldn't require a specific AttributeMatrix type; the exceptions are usually filters that require some geometric information).
The most expansive fix is to check every filter to ensure that it is requiring/not requiring AttributeMatrix types as needed. This was done back for the version 6 release, but some filters may have been missed.