Author: semor Date: Thu Apr 3 23:10:44 2008 New Revision: 5283 URL: http://svn.gna.org/viewcvs/relax?rev=5283&view=rev Log: More removal of the run argument as part of the moving to the new design. Modified: 1.3/prompt/vmd.py Modified: 1.3/prompt/vmd.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/vmd.py?rev=5283&r1=5282&r2=5283&view=diff ============================================================================== --- 1.3/prompt/vmd.py (original) +++ 1.3/prompt/vmd.py Thu Apr 3 23:10:44 2008 @@ -41,31 +41,19 @@ self.__relax__ = relax - def view(self, run=None): + def view(self): """Function for viewing the collection of molecules extracted from the PDB file. - - Keyword Arguments - ~~~~~~~~~~~~~~~~~ - - run: The name of the run which the PDB belongs to. - Example ~~~~~~~ - relax> vmd.view('m1') - relax> vmd.view(run='pdb') + relax> vmd.view() """ # Function intro text. if self.__relax__.interpreter.intro: - text = sys.ps3 + "vmd.view(" - text = text + "run=" + `run` + ")" + text = sys.ps3 + "vmd.view()" print text - # The run argument. - if type(run) != str: - raise RelaxStrError, ('run', run) - # Execute the functional code. - self.__relax__.generic.vmd.view(run=run) + vmd_obj.view()