Author: bugman
Date: Fri Feb 18 10:41:25 2011
New Revision: 12547
URL: http://svn.gna.org/viewcvs/relax?rev=12547&view=rev
Log:
Implemented the code for reading the peak intensity type.
This is not active yet as it can only be used in the BMRB branch.
Modified:
    branches/bruker_import/generic_fns/pdc.py
Modified: branches/bruker_import/generic_fns/pdc.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bruker_import/generic_fns/pdc.py?rev=12547&r1=12546&r2=12547&view=diff
==============================================================================
--- branches/bruker_import/generic_fns/pdc.py (original)
+++ branches/bruker_import/generic_fns/pdc.py Fri Feb 18 10:41:25 2011
@@ -148,5 +148,16 @@
             name = split('([A-Z]+)', line[1])[1]
             name_spin(name=name)
 
+        # The integration method.
+        if len(line) == 4 and line[0] == 'Used' and line[1] == 'integrals:':
+            # Not implemented yet!  Needs the BMRB branch.
+            ## Peak heights.
+            #if line[2] == 'peak' and line[3] == 'intensities':
+            #    peak_intensity_type(ri_label=ri_label, frq_label=frq_label, 
type='height')
+
+            ## Peak volumes:
+            #if line[2] == 'peak' and line[3] == 'volumes':
+            #    peak_intensity_type(ri_label=ri_label, frq_label=frq_label, 
type='volume')
+
     # Pack the data.
     pack_data(ri_label, frq_label, frq, values, errors, ids=res_nums)