mailr20596 - /trunk/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py


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

Header


Content

Posted by edward on August 15, 2013 - 09:10:
Author: bugman
Date: Thu Aug 15 09:10:12 2013
New Revision: 20596

URL: http://svn.gna.org/viewcvs/relax?rev=20596&view=rev
Log:
Syntax error fix for one of the unused scripts in the relax test suite shared 
data directories.

This problem was encountered by Jack Howarth <howarth att bromo dott med dott 
uc dott edu> and
communicated in a private message.  The issue was found by fink.  This script 
is never used and will
never be used again - it is only there for reference.  How a syntax error was 
introduced is a
mystery.  For reference, the full message is:

"""
   While preparing fink packaging for the new relax 3.0.0 release, I noticed 
an error
in the python scripts. When installing relax-py27-3.0.0, I get the following 
error as
the the frame_order_pseudo_ellipse.py python script is compiled. What is the 
correct
syntax for that particular call to pymol.command?

Setting up relax-py27 (3.0.0-1) ...
Compiling 
/sw/lib/relax-py27/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py
 ...
  File 
"/sw/lib/relax-py27/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py",
 line 154
    pymol.command('show spheres'_pseudo_ellipse)
                                              ^
SyntaxError: invalid syntax

Thanks in advance for any clarification.
"""


Modified:
    
trunk/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py

Modified: 
trunk/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py?rev=20596&r1=20595&r2=20596&view=diff
==============================================================================
--- 
trunk/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py
 (original)
+++ 
trunk/test_suite/shared_data/frame_order/cam/pseudo_ellipse_free_rotor/frame_order_pseudo_ellipse.py
 Thu Aug 15 09:10:12 2013
@@ -151,7 +151,7 @@
 
         # PyMOL.
         pymol.view()
-        pymol.command('show spheres'_pseudo_ellipse)
+        pymol.command('show spheres')
         pymol.cone_pdb('cone_pseudo_ellipse.pdb')
 
 




Related Messages


Powered by MHonArc, Updated Thu Aug 15 12:00:02 2013