diff --git a/src/ess/reduce/data/_registry.py b/src/ess/reduce/data/_registry.py index 94857e98..6c1d7a44 100644 --- a/src/ess/reduce/data/_registry.py +++ b/src/ess/reduce/data/_registry.py @@ -134,7 +134,7 @@ def __post_init__(self, unzip: bool) -> None: if self.extractor is not None and unzip: raise TypeError("Set either the 'unzip' argument or 'extractor', not both.") if self.extractor is None and unzip: - super().__setattr__("extractor", "unzip") + object.__setattr__(self, "extractor", "unzip") @classmethod def from_pooch_string(cls, pooch_string: str) -> Entry: