keenon / AddBiomechanics

A tool to automatically process and share biomechanics data
https://addbiomechanics.org/
Other
27 stars 5 forks source link

Adding a subject with "Unknown" sex fails #147

Closed nickbianco closed 1 year ago

nickbianco commented 1 year ago

If you add a subject to AddBiomechanics and leave the Biological Sex field as the default "Unknown" value and click "Process", the processing will fail immediately with an Error state (it does not get caught be the error checking).

However, if you switch the Biological Sex field to "Male" (or "Female") and then back to "Unknown", the processing runs as expected.

I'm guessing that the state for the Biological Sex state isn't being set properly in the background until the user interacts with the field in the front end.