matrx-software / matrx

Human-Agent Teaming Rapid Experimentation Software
https://www.matrx-software.com
MIT License
10 stars 3 forks source link

V2 simulation goals throw an error #327

Closed thaije closed 2 years ago

thaije commented 2 years ago

Describe the bug When you use a simulation of V2, MATRX throws an error on startup.

To Reproduce When creating the worldbuilder, e.g. set the simulation goal to:

simulation_goal=LimitedTimeGoalV2(30)

Expected behavior No error

Stacktrace

The given simulation_goal <matrx.goals.goals.LimitedTimeGoalV2 object at 0x7fc14cca5c70> should be of type WorldGoal or a list/tuple of WorldGoal, or it should be an int denoting the maxnumber of ticks the world should run (negative for infinite)

Additional context Reported by a user during usage in a TNO project.