SainsburyWellcomeCentre / aeon_experiments

Experiment workflows for Project Aeon
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Avoid throwing when active subject does not exist #472

Closed glopesdev closed 7 months ago

glopesdev commented 7 months ago

This PR updates GetActiveSubject to work as a filtering combinator where subject poses are not emitted if the specified identity is not found in the list of active subjects.

Fixes #463

jkbhagatio commented 7 months ago

One test for this: start cameras, add animals, close workflow, restart workflow, remove animals, start cameras. (Previously, this crashed).