Hello,
This seems like a step in the right direction, but in my case I think
merging the resonances would be better since there could be information
in one or the other that would otherwise get lost. But in the end it all
depends on how tricky it would be to make it work.
/Magnus
Wim Vranken wrote:
> Hi,
>
>> Perhaps better than trying to recreate this functionality in the C world
>> would be to access this mergeResonancdes function directly from the C
>> world. Currently that ccpnmr code is not shipped with the C API so
>> it is
>> not even theoretically possible right now. But perhaps this
>> functionality
>> belongs in ccp rather than in ccpnmr in any case. We'll have to discuss
>> that here.
>
> There is already a copyResonanceInfo() function in ccp.general.Copy
> which is metamodel based. You pass in a resonance to copy from, one to
> copy info to, and if the deleteOldInfo option is set to True you
> basically move the information from the 'from' to the 'to' resonance.
> This is a main component of linkResonances and has been around for a
> very long time (so quite stable) - not sure how easy it is to link the
> C code to it though. Wayne?
>
> Bye,
>
> Wim
|