Author: han87 Date: Wed Jul 27 17:51:49 2011 New Revision: 13931 URL: http://svn.gna.org/viewcvs/relax?rev=13931&view=rev Log: Changing the value of the unit arg in the function 'vectors' in 'prompt/structure.py' The argument of the keyword 'unit' in the function 'vectors' in 'prompt/structure.py' has been changed back from 'False' to 'True' since it causes many test failure. Modified: branches/xyz/generic_fns/structure/main.py branches/xyz/prompt/structure.py Modified: branches/xyz/generic_fns/structure/main.py URL: http://svn.gna.org/viewcvs/relax/branches/xyz/generic_fns/structure/main.py?rev=13931&r1=13930&r2=13931&view=diff ============================================================================== --- branches/xyz/generic_fns/structure/main.py (original) +++ branches/xyz/generic_fns/structure/main.py Wed Jul 27 17:51:49 2011 @@ -244,6 +244,8 @@ # Got something! if res_cont != None: + # Rename the residue number + res_cont.num = res_num # Rename the residue name if the res name is given and the sole container is unnamed. if res_cont.name == None and res_name: # Print out. Modified: branches/xyz/prompt/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/xyz/prompt/structure.py?rev=13931&r1=13930&r2=13931&view=diff ============================================================================== --- branches/xyz/prompt/structure.py (original) +++ branches/xyz/prompt/structure.py Wed Jul 27 17:51:49 2011 @@ -580,7 +580,7 @@ - def vectors(self, attached='H', spin_id=None, model=None, verbosity=1, ave=True, unit=False): + def vectors(self, attached='H', spin_id=None, model=None, verbosity=1, ave=True, unit=True): """Extract and store the bond vectors from the loaded structures in the spin container. Keyword arguments