On Wed, Oct 26, 2011 at 1:48 PM, Jerome Nwachukwu <[email protected]>wrote:

> I am trying to write a short script to open multiple .pdb and .mtz files
> that have the same filename but are located in different paths, and adjust
> their map and bond settings. I noticed that the "multi-read-pdb" function
> does not deal well with common wildcards, for instance it would not let me
> use " * " to indicate all/every directory. Is there a better function or
> different method I can use to write such a script?
>

Scheme or Python?  If you're using Python, you can use the 'glob' module to
handle wildcards:

http://docs.python.org/library/glob.html#module-glob

and feed the output of this to read_pdb, etc.

-Nat

Reply via email to