- This topic has 3 replies, 4 voices, and was last updated 10 years ago by Anonymous.
November 26, 2013 at 2:42 pm #1767Anonymous
I am using PyRosetta for Windows, and after running the following code sample:
pose = pose_from_sequence("AAAAAAAAAAAAA", "fa_standard")
pose_symm_data = core.conformation.symmetry.SymmData(pose.n_residue(),pose.num_jump())
it fails with an error:
“core/pose/PDBInfo.hh PDBInfo::natoms( Size const res): res is not in this PDBInfo!”
The assert is coming from PDBInfo.hh, line 363:
"PyAssert( (res>0) && (res < residue_rec_.size()), "PDBInfo::natoms( Size const res): res is not in this PDBInfo!" );"
Where as I understand it should say res <= residue_rec_.size(). Is this assumption correct? And is there a way I can recompile PyRosetta for Windows with these changes? Thank you! PS:
As a workaround I modified the binary rosetta.dll directly, effectively disabling the assert checks:
“Comparing files rosetta.dll and rosetta_bak.dll
0058A2ED: 90 76
0058A2EE: 90 1B
0058A308: EB 72
November 26, 2013 at 3:55 pm #9526Anonymous
Looks like you’re right. I’ll fix it in the developer’s version, and it should be fixed for the next PyRosetta release.
Thanks for the bug report!
November 26, 2013 at 4:47 pm #9527Anonymous
Since the windows version of PyRosetta is no longer supported or updated, you will have to download the next weekly release of the Rosetta trunk and compile PyRosetta from that. I’m not sure what compilation tools are available outside of the development version of the rosetta source, or windows-specific tricks to compile, so I am contacting Sergey Lyskov to get his thoughts on the compile. There is still a lot of interest in the windows version, so I’m not sure why it is not supported any longer.
November 26, 2013 at 6:43 pm #9528Anonymous
Compilation process for Windows version is a bit complicated. Basically you need to generate bindings sources on Linux or Mac then transfer results to Windows box and compile it with VisualStudio. This is laborious process so I would advise against trying it on your own.
- You must be logged in to reply to this topic.