Hi everyone,
I wanted to use FormatConverter to convert cyana constraints to cns constraints, and I
got into some trouble. It worked perfectly for distance and hbonds constraints, but for the
dihedrals, I got the following error message :
Traceback (most recent call last):
File "/Applications/ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1403, in
__call__
return self.func(*args)
File
"/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/ImportExportFormatPopup.py
", line 565, in <lambda>
self.exportButton[component] = Tkinter.Button(master, text = "Export %s file." %
component, command = lambda comp = component: self.importExportFile(comp))
File
"/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/gui/ImportExportFormatPopup.py
", line 799, in importExportFile
returnValue = rwFunc(*addArgs,**addKeywds)
File
"/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/DataFormat.py", line
3210, in writeDihedralConstraints
return self.writeConstraints(*args, **keywds)
File
"/Applications/ccpnmr/ccpnmr2.1/python/ccpnmr/format/converters/DataFormat.py", line
3344, in writeConstraints
self.constraintFile.write(**self.writeKeywds)
TypeError: write() got an unexpected keyword argument 'oneLinePerItem'
I tried to have a look in the incriminated functions, but the thousands lines of code are
way beyond my python abilities.
In my memory it used to work nicely with versions 2.0.x.
Any idea ?
Thanks for help,
Olivier
|