Open GuillaumeBroggi opened 2 months ago
Hey Guillaume,
If I understand it correctly, it is not documented that the input arguments of the user-defined data generator function need to correspond to the input domain parameters described in the Domain
object
Hi Martin,
Exactly. I don't know if this behavior is intended or should be reworked for more flexibility, but documenting it explicitly will help new users.
For instance, replicating the own data generator example will raise
TypeError: cannot unpack non-iterable NoneType object
.The only change is the addition of the variable
z
to the input space.Likewise, modifying the variable name will raise the same error.
If this behavior is intentional, it is not documented. Raising an explicit error might also help.