Ah, I see. Well, that makes more sense. I can only imagine that it's a
memory issue for very large files, though. I can say that it might be
conceivable to do this, but I can also imagine that the more
knowledgeable user would in fact be annoyed to find that the rest of the
structures cannot be compared because they were never loaded.
The problem with
load example.pdb FILTER {20-65:A}
is that the processing of {20-65:A} is presumed to occur during file
loading -- to save memory -- but its actual processing has to occurr
AFTER the atoms are present. (Especially, for example, the syntax: {20-
and *:A}). There are plenty of other reasons why filtering at the atom
would have to occur after file loading is complete. In order to
implement this, one would have to define a subset of expressions that
would be allowed in the filter. I just don't see that sort of processing
as being efficient.
If one really wants to do filtering, I recommend:
load example.pdb; delete not {20-65:A};zoomto 0 {*} 0
That doesn't save any memory because it just flags the atoms as
permanently deleted. But it does accomplish the desired effect. Let's
see how that goes for now.
Bob
[EMAIL PROTECTED] wrote:
>
>So because I thought it would be quite useful I suggested a feature
>request to expand the load filter option of Jmol:
>
>load example.pdb FILTER "20-65:A"
>
>I couldn't find any hint in the documentation that this is already
>possible and at least the syntax above didn't work when I tried it.
>
>(Just hiding parts of a file is quite different from loading only a
>part of it. It might be quite disturbing for a user if the structure
>expanded itself just because he invoked the 'display all' command.)
>
>Regards,
>Rolf
>
>
>----------------------------------------------------------------
>This message was sent using IMP, the Internet Messaging Program.
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users