[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-users] Problem with IMP.core.TransformationSymmetry



Thanks, will test it! Do you think it could be added as an option also to DegreesOfFreedom.create_rigid_body ?

Best,
Jan

> On 19. Nov 2020, at 01:20, Ben Webb <> wrote:
> 
> Tracked and resolved at https://github.com/salilab/imp/issues/1032
> 
> 
> On 8/26/20 11:09 AM, Ben Webb wrote:
>> On 8/25/20 5:47 AM, Jan Kosinski wrote:
>>> OKay, I see, I think it’s like you suggest, but I have to add some crazy code block to update the members, as below in bold:
>> ...
>>> *#crazy code block:*
>>> *for rb in rbs:*
>>> *    rb.update_members()*
>>> *m.update()*
>>> *for rb in rbs:*
>>> *    rb.set_reference_frame(rb.get_reference_frame()) #this updates the members immediately too*
>>> *m.update()*
>>> *#end of the crazy code block*
>> Hmm, this sounds like something isn't right with the dependencies, so updates aren't happening automatically in the right order (although odd that it works for some chains and not others). I'll open an issue.
>>     Ben
> 
> 
> -- 
>                       https://salilab.org/~ben/
> "It is a capital mistake to theorize before one has data."
> 	- Sir Arthur Conan Doyle