This is a simple one-line fix in inout.save_ply2. Within the outer map function, it tries to concatenate the list [len(uv)] and the iterator map(float, list(...)), which causes TypeError: can only concatenate list (not "map") to list.
To fix it, I simply wrapped the map iterator with a call to list. Can you merge this when you get a chance, so I don't have to reimplement this function myself? Thanks!
Hi all,
This is a simple one-line fix in
inout.save_ply2
. Within the outermap
function, it tries to concatenate the list[len(uv)]
and the iteratormap(float, list(...))
, which causesTypeError: can only concatenate list (not "map") to list
.https://github.com/thodan/bop_toolkit/blob/91d9d7051180ba4976eda321ee51a7ea98d65c3c/bop_toolkit_lib/inout.py#L779
To fix it, I simply wrapped the
map
iterator with a call tolist
. Can you merge this when you get a chance, so I don't have to reimplement this function myself? Thanks!--Stephen