Skip to content

Commit

Permalink
Fix serialization of configurations in BDD metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhorcas committed Aug 1, 2024
1 parent 289ec1d commit c4b85d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flamapy/metamodels/bdd_metamodel/operations/bdd_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def configurations(self) -> dict[str, Any]:
raise FlamaException('Model not initialized.')
name = "Configurations"
_configurations = bdd_operations.BDDConfigurations().execute(self.model).get_result()
_configurations = [feature for config in _configurations
for feature in config.get_selected_elements()]
return self.construct_result(name=name,
doc=self.configurations.__doc__,
result=_configurations,
Expand Down

0 comments on commit c4b85d9

Please sign in to comment.