Author: bugman Date: Tue Aug 17 17:56:50 2010 New Revision: 11528 URL: http://svn.gna.org/viewcvs/relax?rev=11528&view=rev Log: Modified frame_order.domain_to_pdb() to remove the file ending if given. This allows the structure to be rotated in pymol. Modified: 1.3/specific_fns/frame_order.py Modified: 1.3/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/frame_order.py?rev=11528&r1=11527&r2=11528&view=diff ============================================================================== --- 1.3/specific_fns/frame_order.py (original) +++ 1.3/specific_fns/frame_order.py Tue Aug 17 17:56:50 2010 @@ -354,6 +354,10 @@ # Init if needed. if not hasattr(cdp, 'domain_to_pdb'): cdp.domain_to_pdb = [] + + # Strip the file ending if given. + if search('.pdb$', pdb): + pdb = pdb[:-4] # Add the data. cdp.domain_to_pdb.append([domain, pdb])