Skip to content

Commit

Permalink
Fix model_type_extension property
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhorcas committed Aug 1, 2024
1 parent 672d58b commit 7545fe1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion flamapy/metamodels/pysat_metamodel/operations/pysat_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7545fe1

Please sign in to comment.