BlueQuartzSoftware / SIMPL

C++ library for managing, archiving and analyzing multimodal data in many dimensions
7 stars 23 forks source link

Feature/copy feature array to element array #430

Closed VKUDRI closed 1 year ago

VKUDRI commented 2 years ago

Altered error conditions so instances with less Feature IDs than the total available are still valid

VKUDRI commented 2 years ago

I think we would need to get a "Fill value" from the user for the unused indices in the feature level array. We could just assume zero but that has caused problems in the past.

Would there be unused indices? If I have feature ids 1-7 and then my feature array has instances of 1,3,4,5, and 6 all the indices in the created element array will have valid ids, it just will not use all the possible ids.

imikejackson commented 2 years ago

Sounds good then.

VKUDRI commented 2 years ago

Changed error message, converted to warning

imikejackson commented 1 year ago

These fixes were incorporated into another PR. Closing.