View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000156 | Rosetta | [All Projects] Bad Coding | public | 2012-12-01 16:51 | 2013-03-07 15:50 |
|
Reporter | rmoretti | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | |
Platform | All platforms | OS | Any | OS Version | Any |
Product Version | Trunk | |
Fixed in Version | | |
|
Summary | 0000156: Missing show() methods on Constraints |
Description | When a constraint (like PocketConstraint) which does not implement the show() method is used in a situation which results in a pose length change (such as adding a virtual root in constrained relax protocols) Rosetta dies with an error. This is because ConstraintSet::get_all_constraints() invokes the contained constraints' show() method.
cf. http://www.rosettacommons.org/content/how-use-cstfafile-and-relaxconstrainrelaxtonativecoords-same-time [^]
|
Steps To Reproduce | Use a constraint file with a Pocket constraint (or other constraint not implementing show()) with a constrained relax protocol. |
Additional Information | The base constraint implementation has a lot of stubbed-out functions, making it very easy to skip the implementation, resulting in these strange crashes. It might be worth thinking about converting (some of) them to pure virtual methods to ensure they are properly implemented in derived classes. |
Tags | No tags attached. |
|
Application(s) Affected | relax, others using constraints |
Command Line Used | relax.linuxgccrelease -s pdb.pdb -native native.pdb -cst_fa_file cst.txt -relax:constrain_relax_to_native_coords |
Developer Options | |
Fixed in SVN Version | |
|
Attached Files | |
|