icaros-usc / pyribs

A bare-bones Python library for quality diversity optimization.
https://pyribs.org
MIT License
205 stars 31 forks source link

Check that emitters passed in are lists/iterables in scheduler #341

Closed itsdawei closed 12 months ago

itsdawei commented 12 months ago

Description

A potentially common error is for users to pass in a single emitter and receive a confusing error message about the emitter not having the method __len__. This PR makes the error message more clear.

TODO

Questions

Status