_format_command subclass in post-processors returns a single namedTuple. This makes it impossible to generate separate commands for motion and IO per frame.
This PR changes the return type of _format_command to a list, and changes format_commands to extend instead of append to the commands list. Consequently all post-processors have been updated to return a list of namedTuple.
Tested all post-processors and seems to work all fine. Most processors dont currently include IO export capabilites but this makes it possible to add easily.
_format_command
subclass in post-processors returns a single namedTuple. This makes it impossible to generate separate commands for motion and IO per frame.This PR changes the return type of
_format_command
to a list, and changesformat_commands
to extend instead of append to thecommands
list. Consequently all post-processors have been updated to return a list of namedTuple.Tested all post-processors and seems to work all fine. Most processors dont currently include IO export capabilites but this makes it possible to add easily.