diff --git a/flamapy/metamodels/pysat_metamodel/operations/pysat_metrics.py b/flamapy/metamodels/pysat_metamodel/operations/pysat_metrics.py index 7c8bfc7..242b069 100644 --- a/flamapy/metamodels/pysat_metamodel/operations/pysat_metrics.py +++ b/flamapy/metamodels/pysat_metamodel/operations/pysat_metrics.py @@ -29,11 +29,19 @@ def __init__(self) -> None: super().__init__() self.model: Optional[VariabilityModel] = None self.result: list[dict[str, Any]] = [] - self.model_type_extension = "pysat" + self._model_type_extension = "pysat" self._features: dict[int, str] = {} self._common_features: list[Any] = [] self._dead_features: list[Any] = [] + @property + def model_type_extension(self) -> str: + return self._model_type_extension + + @model_type_extension.setter + def model_type_extension(self, ext: str) -> None: + self._model_type_extension = ext + def get_result(self) -> list[dict[str, Any]]: return self.result