yeah, that's just what I just found. Slick.

My guess is that very few people have had to think about this, because it's just not something a lot of people are doing right now. I'm thinking about it because I suddenly have access to CIF files with "all the known quartz structures" for instance. This actually is fascinating to me, and I think as people start using these new capabilities with unit cells, we should be thinking about doing this properly.

Bob


Nicolas Vervelle wrote:



Bob Hanson wrote:

right, that's my point. It seems unnatural to me as well. That's why I was surprised and initially thought it was a bug. Personally I can't imagine it, either, unless....

...I suppose some day we will be loading two molecules and maneuvering them independently (like a drug and an active site). In that case they will (probably) be in two different frames because they will have been loaded from two different files, and the interesting thing might be to highlight what atoms in one molecule are near atoms in another.

So maybe someday there will be a flag that can be set -- only within a model, only between models -- still I find it hard to believe one would ever want the current "within or between models".

I have a feeling that the logic would get totally unrulely if we tried to restrict "within" to a particular model. Because this has to result in a linear set of bits.


The implementation is probably really very simple, with one line modification.
In Eval.withinDistance(), replacing:
AtomIterator iterWithin = frame.getWithinAnyModelIterator(atom, distance);
by
AtomIterator iterWithin = frame.getWithinModelIterator(atom, distance);

Nico


Bob


Nicolas Vervelle wrote:



Angel Herraez wrote:

Diificult to distinguish, since most atoms nr. 3 are close to each other.

I have tested with another file and yes, it is selecting atoms in any model that are close to specified atom in any model (i.e, not only within the same model).

Test attached PDB file using atomno=22 as the reference



From my totally non-expert point of view, this behavior seems very strange and unnatural. (since different models could be totally unrelated to each other, or related in different ways)

I don't see why someone would want to select atoms at coordinates near at atom in an other model.

But you are the experts, not me ;)



· · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 Dr. Angel Herraez
 Dep. Bioquimica y Biologia Molecular, Universidad de Alcala
 E-28871 Alcala de Henares  (Madrid), Spain
 fax: +34-91 885 45 85


------------------------------------------------------------------------

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  glyser_doble.pdb
     Date:  28 Jan 2006, 14:57
     Size:  4093 bytes.
     Type:  Unknown





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to