Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Mol* extension (with inner rcsb-molstar) #8

Open
cycle20 opened this issue Oct 8, 2023 · 0 comments
Open

Custom Mol* extension (with inner rcsb-molstar) #8

cycle20 opened this issue Oct 8, 2023 · 0 comments

Comments

@cycle20
Copy link

cycle20 commented Oct 8, 2023

Hi,
I have a custom extension (with labeling and color theme).
How do I get rcsb-molstar to use this extension?

I attempted RcsbFv3DCustom constructor, but it can expect
built-in mol* extension names here, as I see:

params.structureConfig.structureViewerConfig.viewerProps.extensions:

("rcsb-assembly-symmetry" | "rcsb-validation-report" | "rscc" | "anvil-membrane-orientation" | "ma-quality-assessment" | "model-export" | "mp4-export" | "geo-export")[]

Furthermore, I guess, I should register the extension by the embedded PluginContext,
but I can't see any property to access underlying mol* viewer instance.

Best regards,
Csongor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant