Author: bugman Date: Thu Feb 7 11:28:36 2008 New Revision: 4922 URL: http://svn.gna.org/viewcvs/relax?rev=4922&view=rev Log: Converted the Molmol ribbon() 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=4922&r1=4921&r2=4922&view=diff ============================================================================== --- 1.3/generic_fns/molmol.py (original) +++ 1.3/generic_fns/molmol.py Thu Feb 7 11:28:36 2008 @@ -200,15 +200,8 @@ command_history = command_history + command + "\n" -def ribbon(run=None): +def ribbon(): """Apply the Molmol ribbon style.""" - - # Arguments. - run = run - - # Test if the run exists. - if not run in relax_data_store.run_names: - raise RelaxNoPipeError, run # Calculate the protons. pipe_write("CalcAtom 'H'")