DREAM3D icon indicating copy to clipboard operation
DREAM3D copied to clipboard

DataArraySelectionWidget needs to validate the AttributeMatrix type and AttributeArray type when validating the path.

Open imikejackson opened this issue 8 years ago • 1 comments

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.

imikejackson avatar Nov 26 '16 18:11 imikejackson

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.

sdonegan avatar Nov 28 '16 13:11 sdonegan