Hi,
Thanks, you spot it right. I just got myself the idea to restart when
I received your email. Now, I have my dihedrals constraints converted.
Thanks also for the "autaco" tip.
Thanks again,
Olivier Serve
Le 21 oct. 2009 à 12:10, Mandar T. Naik a écrit :
> Hi there,
> I have seen this before. Probably you have used "Use one line per
> constraint
> item" option in your distance or hbonds export. Just restart
> formatConverter
> and export only dihedrals. Also you may have more problems if you
> used "autoaco" flag in cyana and are working with the final.aco file
> generated by it.
> regards
> -mandar
>
> On 2009 October 21 Wednesday 10:54:05 Olivier Serve wrote:
>> 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/
>> ImportExportFormat
>> Popup.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/
>> ImportExportFormat
>> Popup.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
|