After my previous PR, runs are failing at controls.strategy = int(input_controls.strategy) because we are using vars(self.controls).update(new_values) to set the control the enum string is not converted to an enum. This fix ensures an enum is always passed out of the controls widget.
Might be worth fixing this in python-RAT so it does not fail if strategy is a string
After my previous PR, runs are failing at
controls.strategy = int(input_controls.strategy)
because we are usingvars(self.controls).update(new_values)
to set the control the enum string is not converted to an enum. This fix ensures an enum is always passed out of the controls widget.Might be worth fixing this in python-RAT so it does not fail if strategy is a string