sokrypton / ColabDesign

Making Protein Design accessible to all via Google Colab!
549 stars 127 forks source link

Sidechain rmsd loss throws out error #87

Closed ardagoreci closed 1 year ago

ardagoreci commented 1 year ago

Firstly, thank you for this codebase; it is greatly accelerating our research.

I am trying to add a sidechain loss to certain residues in partial hallucination, but I am getting an error deep within the code.

When I prep_inputs with use_sidechains = True, I get the following error: TypeError: take requires ndarray or scalar arguments, got <class 'colabdesign.af.alphafold.model.r3.Rigids'> at position 0.

I do not have the technical expertise to dive into the code and fix this issue, please help!

Screen Shot 2022-10-13 at 16 04 38
sokrypton commented 1 year ago

Thanks! This bug should be fixed now in v1.0.8 and v1.1.0

ardagoreci commented 1 year ago

Thank you!!