VMD-L Mailing List
From: Neil Henson T-12 (njh_at_t12.lanl.gov)
Date: Tue Mar 03 1998 - 12:12:27 CST
- Next message: Stephane Spieser: "dihedral angles"
- Previous message: aldo jongejan: "Babel and VMD"
- Maybe in reply to: aldo jongejan: "Babel and VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I have this problem too. As a workaround, I do :-
setenv VMDBABELBIN /usr/local/lib/babel/babel_vmd
in the vmd script, and then I create /usr/local/lib/babel/babel_vmd
with :-
#!/bin/csh -f
setenv BABEL_DIR /usr/local/lib/babel
set inputformat = `echo $argv[1] | awk -F\- '{print $2}'`
set outputformat = `echo $argv[4] | awk -F\- '{print $2}'`
if ( $inputformat == "ix" ) then
set inputformat = "-ixyz"
else
set inputformat = '-'$inputformat
endif
if ( $outputformat == "op" ) then
set outputformat = "-opdb"
endif
set argv = ( $inputformat $2 $3 $outputformat $5 )
/usr/local/lib/babel/babel $argv
#
#
Neil.
-- * Neil Henson Hartlepool Renaissance: a marina, * * neil.henson_at_lanl.gov a hung monkey and much much more * * http://www.t12.lanl.gov/~njh Tel: 505-667-7795 Fax: 505-665-3909 * * Group T-12, Mail Stop B268, Los Alamos National Laboratory, NM 87545, USA *
- Next message: Stephane Spieser: "dihedral angles"
- Previous message: aldo jongejan: "Babel and VMD"
- Maybe in reply to: aldo jongejan: "Babel and VMD"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]