[MMTK] A minor Python script problem
Konrad Hinsen
hinsen@cnrs-orleans.fr
22 Apr 2002 13:31:58 +0200
Ben Carrington <bjc32@hermes.cam.ac.uk> writes:
> universe = InfiniteUniverse(DeformationForcefield())
> universe.protein = Protein( input("enter pdb file name"), model='calpha')
Try "raw_input" instead of "input". The function "input" evaluates
the text that is entered as a Python expression, so you would have to
type the file name enclosed in quotes.
Konrad.
--
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24
Rue Charles Sadron | Fax: +33-2.38.63.15.17
45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
France | Nederlands/Francais
-------------------------------------------------------------------------------