Print

Print


Hi everyone,
	I am currently trying to import one year old peaks and assignement  
file in cyana format into my ccpnmr project (V2.05). Whatever option I  
am trying to use after clicking on the import button, I always have  
the same error message. I do not know if something is wrong with my  
files or if it is a software related issue.

Thanks for any help.

# FormatConverter: executing readShiftsAndPeaks #
#################################################


ERROR in ccp.nmr.Nmr.ShiftList.__init__
WARNING Error in clean-up of incorrectly created object.
         Data may be left in an illegal state
Exception in Tkinter callback
Traceback (most recent call last):
   File "/sw/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
     return self.func(*args)
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/gui/ 
ImportExportFormatPopup.py", line 943, in ok
     if (not self.apply()):
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/gui/ 
ImportExportFormatPopup.py", line 956, in apply
     returnValue = self.importExportFile(self.component) # If none,  
will do all components
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/gui/ 
ImportExportFormatPopup.py", line 799, in importExportFile
     returnValue = rwFunc(*addArgs,**addKeywds)
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/ 
converters/DataFormat.py", line 3662, in readShiftsAndPeaks
     measurementList = self.readShifts(self.shiftFile, verbose =  
False, resetIOkeywords = False)
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/ 
converters/DataFormat.py", line 1679, in readShifts
     return self.readMeasurements(*args, **keywds)
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/ 
converters/DataFormat.py", line 1876, in readMeasurements
     self.setMeasurementList()
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccpnmr/format/ 
converters/DataFormat.py", line 6944, in setMeasurementList
     self.measurementList =  
self.ApiMeasurementList(self.project.currentNmrProject, name =  
self.measurementListName, **self.measurementListKeywds)
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccp/api/nmr/Nmr.py",  
line 116098, in __init__
     func(self, value)
   File "/Applications/ccpnmr/ccpnmr2.0/python/ccp/api/nmr/Nmr.py",  
line 6574, in setMethod
     + ": %s" % (value,)
ApiError: ccp.nmr.Nmr.ShiftList.setMethod:
          value is not of class ccp.general.Method.Method:  
[<ccp.general.Method.Method ['Hoil_nt', 8]>]

Olivier Serve