VMD-L Mailing List
From: Lucie Huynh (luciehuynh_at_gmail.com)
Date: Wed Feb 06 2008 - 10:29:58 CST
- Next message: Axel Kohlmeyer: "Re: merge pdb"
- Previous message: C L Freeman: "vmd maxAtom"
- Next in thread: Axel Kohlmeyer: "Re: merge pdb"
- Reply: Axel Kohlmeyer: "Re: merge pdb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello everyone,
I'm new in tcl/tk language.
I found a script to merge every file in a directory and I'd like to modify
it in order to merge only file that begin with "b" for example.
Here is the lines I modified:
foreach pdb [glob b*.pdb] {
foreach segname [lsort [$pdb get segid]]{
set segid $segname
segment $segid {
first NONE
last NONE
pdb $pdb
}
coordpdb $pdb $segid
}
}
I have only 2 files beginning with "b". No problem for the first one but
there's a problem with the second file...
Here is the error message : couldn't execute "C:\Program Files\University of
Illinois\VMD\basps_moved.pdb": no such file or directory.
What does it mean? what's wrong with the script?
Thank you in advance for any help!
Lucie
- Next message: Axel Kohlmeyer: "Re: merge pdb"
- Previous message: C L Freeman: "vmd maxAtom"
- Next in thread: Axel Kohlmeyer: "Re: merge pdb"
- Reply: Axel Kohlmeyer: "Re: merge pdb"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]