mailr4913 - /1.3/generic_fns/molmol.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 07, 2008 - 10:36:
Author: bugman
Date: Thu Feb  7 10:36:42 2008
New Revision: 4913

URL: http://svn.gna.org/viewcvs/relax?rev=4913&view=rev
Log:
Converted the Molmol command() function to the new relax design.


Modified:
    1.3/generic_fns/molmol.py

Modified: 1.3/generic_fns/molmol.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/molmol.py?rev=4913&r1=4912&r2=4913&view=diff
==============================================================================
--- 1.3/generic_fns/molmol.py (original)
+++ 1.3/generic_fns/molmol.py Thu Feb  7 10:36:42 2008
@@ -39,15 +39,12 @@
     command_history = ""
 
 
-def command(run, command):
-    """Function for sending Molmol commands to the program pipe."""
-
-    # Arguments.
-    run = run
-
-    # Test if the run exists.
-    if not run in relax_data_store.run_names:
-        raise RelaxNoPipeError, run
+def command(command):
+    """Function for sending Molmol commands to the program pipe.
+
+    @param command: The Molmol command to send into Molmol.
+    @type command:  str
+    """
 
     # Pass the command to Molmol.
     pipe_write(command)




Related Messages


Powered by MHonArc, Updated Thu Feb 07 10:40:08 2008