1 Commits

Author SHA1 Message Date
FilippoOlivo
b00e65d872 fix collect_data 2025-11-18 17:08:22 +01:00

View File

@@ -337,6 +337,10 @@ class AbstractProblem(metaclass=ABCMeta):
# If the condition does not have a domain attribute, store
# the input and target points
keys = condition.__slots__
values = [getattr(condition, name) for name in keys]
values = [
getattr(condition, name)
for name in keys
if getattr(condition, name) is not None
]
data[condition_name] = dict(zip(keys, values))
self._collected_data = data