Eric,
I’ve not used SMARTS before, so I tried your commands below:
> rings6 = {*}.find("SMARTS","c1c1", true)
select rings6
and
> ringsh = {*}.find("SMARTS","c1cncn1", true)
select ringsh
Running the Jmol application, v. 14.8.0, and loading tryptophan via “load
$tryptophan”, your
This selects the aromatic ring carbons of Phe and Tyr:
rings6 = {*}.find("SMARTS","c1c1", true)
It does not select the 6-atom ring of Trp.
This selects the ring of His:
ringsh = {*}.find("SMARTS","c1cncn1", true)
How do I select the 5 and 6 atom rings of Trp?
Thanks, Eric
Angel,
I’m not sure if I fully understand what you are trying to do, but browser local
storage is a great way to carry on behind the scene communications between all
types of entities - objects, objects that don’t yet exist, windows, tabs,
frames, and more. You can even close your browser,
Thanks, Bob
> Well, if you wrote the page, you should know, right? ;)
Not necessarily ;-) I mean, applets are generated quasi-automated by some
back-end code.
> All applets are registered in Jmol._applets.
Could be. The problem is to know which of those is involved at a certain
instance.
It’s probably not recommended, but this may do the trick
Object.keys(Jmol._applets) ?
Paul
> Le 29-06-2017 à 14:58, Angel Herráez a écrit :
>
> Callbacks return as their first parameter the ID of the JSmol object (e.g.
> "jmolApplet1")
>
> I wonder if this ID could be
Callbacks return as their first parameter the ID of the JSmol object (e.g.
"jmolApplet1")
I wonder if this ID could be retrieved directly from a script. I could not find
anything e.g. among the readonly variables
Any hints are welcome
Well, if you wrote the page, you should know, right? ;)
All applets are registered in Jmol._applets.
Bob
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
7 matches
Mail list logo