Skip to content

Consider adding "molstar default" shortcut #66

@prihoda

Description

@prihoda

It would be useful to add a shortcut for molstar default settings.

Instead of:

builder = mvs.create_builder()

structure = builder.download(url='https://files.wwpdb.org/download/6vjj.cif').parse(format='mmcif').model_structure()

structure.component(selector="polymer").representation().color(custom=dict(molstar_use_default_coloring=True))

builder.molstar_notebook()

You could write something like:

mvs.molstar_default(pdb='6vjj').molstar_notebook()

Otherwise users will always find themselves copy pasting chunks of code just to visualize a structure :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions