Author: bugman Date: Sun Aug 17 18:25:44 2008 New Revision: 7203 URL: http://svn.gna.org/viewcvs/relax?rev=7203&view=rev Log: Allowed the PCS data column to be None, so that a file with only PCS errors can be read. Modified: branches/rdc_analysis/prompt/pcs.py Modified: branches/rdc_analysis/prompt/pcs.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/prompt/pcs.py?rev=7203&r1=7202&r2=7203&view=diff ============================================================================== --- branches/rdc_analysis/prompt/pcs.py (original) +++ branches/rdc_analysis/prompt/pcs.py Sun Aug 17 18:25:44 2008 @@ -338,8 +338,8 @@ raise RelaxNoneIntError, ('spin name column', spin_name_col) # The data column. - if type(data_col) != int: - raise RelaxIntError, ('data column', data_col) + if data_col != None and type(data_col) != int: + raise RelaxNoneIntError, ('data column', data_col) # The error column. if error_col != None and type(error_col) != int: