Current behavior
Currently tasks self.validate() is not really ran anywhere, neither at submission or during the task executions.
Expected Behavior
In principle, it should by default ran anytime run() is called because you want to validate all parameters before running the task.
During submission However, sometimes some attribute such as self.samples are not populated yet until the whole batch is ready (like in heating). So the validate() method should not be called during running. Otherwise we would need two base methods such as validate_run() and validate_submission()
Minimal example
No response
Relevant files/images/logs
No response
Current behavior
Currently tasks self.validate() is not really ran anywhere, neither at submission or during the task executions.
Expected Behavior
In principle, it should by default ran anytime run() is called because you want to validate all parameters before running the task.
During submission However, sometimes some attribute such as self.samples are not populated yet until the whole batch is ready (like in heating). So the validate() method should not be called during running. Otherwise we would need two base methods such as validate_run() and validate_submission()
Minimal example
No response
Relevant files/images/logs
No response