You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,
thank you for developing this wonderful tool!
I'm trying to use one of the options hideStructure, to hide water.
I also have some parameters defined in selection.
But I found that when ever I set hideStructure, the selection will lose its effect.
hello,
thank you for developing this wonderful tool!
I'm trying to use one of the options hideStructure, to hide water.
I also have some parameters defined in selection.
But I found that when ever I set hideStructure, the selection will lose its effect.
Here is the setting from the example you provided here: https://embed.plnkr.co/plunk/eMPsfuW2msk9CKC3
If I enable the hideStructure option, the selection won't show up.
const options = {
// DATA
moleculeId: '1cbs',
// customData: {
// url: 'https://alphafold.ebi.ac.uk/files/AF-O15552-F1-model_v1.cif',
// format: 'cif',
// binary: false,
// },
// assemblyId: '1',
// defaultPreset: 'default', // default | unitcell | all-models |supercell
// ligandView: { label_comp_id: 'REA' },
// superposition
selection: {
data: [
{
struct_asym_id: 'A',
//start_residue_number: 1,
//end_residue_number: 20,
color: '#ffff00',
focus: true
},
],
nonSelectedColor:{ r: 255, g: 255, b: 255 },
},
// APPEARANCE
// visualStyle: 'cartoon', // cartoon | ball-and-stick | carbohydrate | ellipsoid | gaussian-surface | molecular-surface | point | putty | spacefill
hideStructure: ['water'],
The text was updated successfully, but these errors were encountered: