David Sehnal

Results 234 comments of David Sehnal

I've ran into the issue before too, but I just worked around it locally. I think we could just find the instances where we use the const enum in the...

If we do this refactoring, we would need to release 4.0, which isn't necessarily a bad thing. I can definitely see the value of supporting the ``isolatedModules`` option. Together with...

Hi @gschadow , thanks for the interest. Here are some pointers to get you started: - Controls that handles current "focus" (what you clicked on): https://github.com/molstar/molstar/blob/master/src/mol-plugin-ui/structure/focus.tsx. It show how to...

There is no single "molfile object" in Mol* like you describe here and it's not possible to access the representation directly from the JS console.

Hi, the water is added [here](https://github.com/molstar/molstar/blob/master/src/mol-plugin-state/builder/structure/representation-preset.ts#L165) in the default present. Two options: - You write your own custom preset which doesn't add the water by default - You create a...

Just decode the base64 string and pass it to ``loadStructureFromData``.

Hi, sorry this feature is currently not built in but there are some talks about adding it https://github.com/molstar/molstar/discussions/417

One way is to remember the "selector", e.g. ```ts const update = plugin.build(); const selection = pluing.to(cell).apply(StructureSelectionFromExpression, ...).selector; await update.commit(); // later plugin.build().to(selection).update(...); ``` And sorry, I don't understand your...

The label in download will only affect the download node by default. This works for PDB as a "backup" but for mmcif this works a bit differently. What is your...

The label for mmCIF file is taken from the ``entry.id`` field. Can you modify that? Otherwise you would have to write your own transform that assigns the label you want....