midlik

Results 22 comments of midlik

Hi, thank you for a pointer. However, I experimented a bit and I'm not sure this is the issue. In `src/mol-canvas3d/passes/draw.ts`, `this.wboit.supported` gives `false`, so it falls back from 'wboit'...

I've been able to identify the commit that broke the things - "refactor transparency graphics variant handling" on 29 Sep 2023: https://github.com/molstar/molstar/commit/dd2593475ab52e608fd77b97eb46227e537c87b5

OK, I found it. It was really trying to do 'wboit'. What threw me off was that there is transparency in `DrawPass` which automatically falls back to 'blended' when 'wboit'...

Hi, in the meantime we released 3.1.3 on npm, and 3.2.0 is now also available.

Hi. There is no option to achieve this directly. But you can add this code which changes the color theme for polymer component once the structure is loaded: ``` function...

You could also apply the color theme to all representations: ``` const representations = cells.filter(c => c.transform.transformer.id === 'ms-plugin.structure-representation-3d'); ``` but I think it wouldn't make sense for non-polymers

Update: With PDBe Molstar 3.3.0, this is now much easier. Follow the solution described here https://github.com/molstar/pdbe-molstar/issues/110 But instead of `polymer: { type: 'cartoon', color: 'sequence-id' },` use `polymer: { type:...

PDBe Molstar does not provide helper functions for this. But it is achievable via core Molstar functionality. You can add listeners for highlight (when the user hovers a residue) and...

If you meant getting residues that you have previously selected via `viewerInstance.visual.select`, just save the object that you passed to the function.

You can use the `.visual.select` helper method (basically what CrisSherban suggested, thank you). The call will look something like this: ``` viewerInstance.visual.select({ data: [ { struct_asym_id: 'A', residue_number: 1, color:...