Paul Pillot

Results 50 comments of Paul Pillot

@radifar just to make sure, in order to prioritize development efforts, is the issue "only" having an error message displayed in the console? Or is it that you are unable...

Nothing bad is happening: there is a render cycle that is occurring and a check to see whether the coordinates are still available. That's the normal flow of the code....

No worries! I'll leave it open for now as it's a useful starting point. I've opened the discussion with @fredludlow and we'll see how we advance starting from there. Since...

This code looks strange to me: you are referring to this link https://github.com/nglviewer/ngl/blob/master/examples/scripts/test/superposition.js but none of the code pasted is looking alike, in particular `stage.alignView()` which is not a method...

That's correct, these methods are attached to a given structure, so it's not currently possible to make selections across different structures/components using these methods. There is a workaround discussed in...

> In the expression > > ```js > this.hasAtomWithName([ 'P', "O3'", 'O3*' ], [ "C4'", 'C4*' ], [ "O2'", 'O2*', "F2'", 'F2*' ]) || > (RnaBases.includes(this.resname) && this.hasAtomWithName([ "O2'", 'O2*',...

@Fravadona I am not sure why it was written this way. Do you have an example of a public coarse grained RNA structure we could use for reference?

The core cif file parsing functions expects the field `atom_site_type_symbol` to properly infer the element. This cif file does not have it: it only contains the `atom_site_label`. It seems that,...

The way the mouse events work in NGL is that they are attached on the document (not the canvas directly). I think this allows, for example, to detect when the...

It can't be configured: https://github.com/nglviewer/ngl/blob/d242234becffbe91c11126079ed22e6930390584/src/controls/picking-proxy.ts#L310 But this would be a nice feature to add (using the same templating syntax as for labels)