move stateful checks (e.g. is_visium, is_single) higher up in the validator to avoid potential state-related issues #1125
Labels
curation software
tech
Tech issues that do not require product prioritization. Tech debt, tooling, ops, etc.
Motivation
The
Validator
object is stateful, and there are various points in the life of a validator object when a state might be set during validation. The states should be defined as early as possible and in a single place to avoid potential complications.An example pointed out here
Definition of Done
the Validator state property setter functions are called once and only once (not counting after
Validator.reset()
.Tasks
Detail the specific tasks that can be used to accomplish the desired changes.
If detailed steps cannot be provided at this time, please file a Tech Proposal instead.
adata
is reassigned.Extra Credit
@property
and@property.setter
decorators (already used for Validator.adata)The text was updated successfully, but these errors were encountered: