Skip to content

Represent Compiled Graphics Objects using dedicated class #909

@padix-key

Description

@padix-key

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    major releasePotentially backwards incompatible changes that should go in to the next major release

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions