Author: bugman Date: Sat Feb 21 23:57:38 2009 New Revision: 8835 URL: http://svn.gna.org/viewcvs/relax?rev=8835&view=rev Log: Renamed the pystarlib file object to self.data. Modified: branches/bmrb/bmrblib/nmr_star_dict.py Modified: branches/bmrb/bmrblib/nmr_star_dict.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/bmrblib/nmr_star_dict.py?rev=8835&r1=8834&r2=8835&view=diff ============================================================================== --- branches/bmrb/bmrblib/nmr_star_dict.py (original) +++ branches/bmrb/bmrblib/nmr_star_dict.py Sat Feb 21 23:57:38 2009 @@ -44,17 +44,18 @@ """ # Initialise the pystarlib File object. - self.file = File(title='relax_model_free_results', filename=file_path) + self.data = File(title='relax_model_free_results', filename=file_path) def read(self): """Read the data from a BMRB NMR-STAR formatted file.""" - self.file.read() + # Read the contents of the STAR formatted file. + self.data.read() def write(self): """Write the data to a BMRB NMR-STAR formatted file.""" # Write the contents to the STAR formatted file. - self.file.write() + self.data.write()