Dear Angel (and everyone), For years I have wanted a way to find out (in javascript or in JSmol) the number of atoms (or molecular weight) of a PDB entry before attempting to load it into JSmol. But I have not known how to do this.
If you know, please send me a sample of the code. When the size exceeds a threshold, I would load only alpha carbons. Already, for JSmol, I load only model 1 (in FirstGlance). Luckily this works when there is only one model; and it prevents JSmol from freezing with NMR ensembles of multiple models. But I do not know how to determine the number of models in an entry before attempting to load it. Regards, Eric On 1/12/16 1:10 PM, Angel Herráez wrote: > Excellent! > > Thanks a lot, Rolf > > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users