mailr19360 - /branches/relax_disp/lib/software/sparky.py


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

Header


Content

Posted by edward on April 04, 2013 - 16:13:
Author: bugman
Date: Thu Apr  4 16:13:13 2013
New Revision: 19360

URL: http://svn.gna.org/viewcvs/relax?rev=19360&view=rev
Log:
The lib.software.sparky.read_list_intensity() function can now handle 
lowercase in the residue names.


Modified:
    branches/relax_disp/lib/software/sparky.py

Modified: branches/relax_disp/lib/software/sparky.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/lib/software/sparky.py?rev=19360&r1=19359&r2=19360&view=diff
==============================================================================
--- branches/relax_disp/lib/software/sparky.py (original)
+++ branches/relax_disp/lib/software/sparky.py Thu Apr  4 16:13:13 2013
@@ -79,11 +79,11 @@
         x_assign, h_assign = split('-', line[0])
 
         # The proton info.
-        h_row = split('([A-Z]+)', h_assign)
+        h_row = split('([a-zA-Z]+)', h_assign)
         h_name = h_row[-2] + h_row[-1]
 
         # The heteronucleus info.
-        x_row = split('([A-Z]+)', x_assign)
+        x_row = split('([a-zA-Z]+)', x_assign)
         x_name = x_row[-2] + x_row[-1]
 
         # The residue number.




Related Messages


Powered by MHonArc, Updated Thu Apr 04 16:20:02 2013