Changed the casting of jump variables so that they are cast to native python types (i.e. floats and ints). The problem was list(choices) keeps the types in the list intact and only changes the container to a python list. choices.tolist() changes the container AND the datatypes to native python types.
Changed the casting of jump variables so that they are cast to native python types (i.e. floats and ints). The problem was
list(choices)
keeps the types in the list intact and only changes the container to a python list.choices.tolist()
changes the container AND the datatypes to native python types.