Author: bugman Date: Sun Feb 22 15:05:06 2009 New Revision: 8851 URL: http://svn.gna.org/viewcvs/relax?rev=8851&view=rev Log: Changed some imports in preparation for support for different NMR-STAR versions. 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=8851&r1=8850&r2=8851&view=diff ============================================================================== --- branches/bmrb/bmrblib/nmr_star_dict.py (original) +++ branches/bmrb/bmrblib/nmr_star_dict.py Sun Feb 22 15:05:06 2009 @@ -28,7 +28,9 @@ """ # relax module imports. -from bmrblib.kinetics import heteronucl_NOEs, heteronucl_T1_relaxation, heteronucl_T2_relaxation +from bmrblib.kinetics.heteronucl_NOEs import HeteronuclNOESaveframe +from bmrblib.kinetics.heteronucl_T1_relaxation import HeteronuclT1Saveframe +from bmrblib.kinetics.heteronucl_T2_relaxation import HeteronuclT2Saveframe from pystarlib.File import File @@ -48,9 +50,9 @@ self.data = File(title=title, filename=file_path) # Initialise the objects of this class. - self.heteronucl_T1_relaxation = heteronucl_T1_relaxation.HeteronuclT1Saveframe(self.data.datanodes) - self.heteronucl_T2_relaxation = heteronucl_T2_relaxation.HeteronuclT2Saveframe(self.data.datanodes) - self.heteronucl_NOEs = heteronucl_NOEs.HeteronuclNOESaveframe(self.data.datanodes) + self.heteronucl_T1_relaxation = HeteronuclT1Saveframe(self.data.datanodes) + self.heteronucl_T2_relaxation = HeteronuclT2Saveframe(self.data.datanodes) + self.heteronucl_NOEs = HeteronuclNOESaveframe(self.data.datanodes) def read(self):