Currently the get_*_cgo() functions in biotite.interface.pymol return Compiled Graphics Objects as list of floats. It would be clearer to have a class encapsulating the CGO so draw_cgo() would accept list[CGO] instead of the rather obscure list[list[float]]. The current CGO enum could become an inner class CGO.Type.
Currently the
get_*_cgo()functions inbiotite.interface.pymolreturn Compiled Graphics Objects as list of floats. It would be clearer to have a class encapsulating the CGO sodraw_cgo()would acceptlist[CGO]instead of the rather obscurelist[list[float]]. The currentCGOenum could become an inner classCGO.Type.