NASA-AMMOS / aerie

A software framework for modeling spacecraft.
https://nasa-ammos.github.io/aerie-docs/
MIT License
73 stars 19 forks source link

Fixed an issue where constraint runs would fail against activities wi… #1310

Closed cohansen closed 10 months ago

cohansen commented 10 months ago

…th unitized variants

Description

I found this to be an issue with our variant schema type when it had units assigned to it. It turns out our parser was too strict so it didn't expect to see the metadata field like our other schema types.

Thanks for the help @mattdailis!

Verification

Updated Banananation to include units on an enum and added a test to make sure we can successfully run constraints against it.

Documentation

NA

Future work

NA