jobqueues.util module#
- jobqueues.util.ensurelist(tocheck, tomod=None)#
Convert numpy ndarray and scalars to lists.
Lists and tuples are left as is. If a second argument is given, the type check is performed on the first argument, and the second argument is converted.