MantisBT - Rosetta |
| View Issue Details |
|
| 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 | | |
| 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 | |
|
| 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. |
| Relationships | | related to | 0000201 | assigned | Labonte | Show() methods are missing for a large number of classes |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2012-12-01 16:51 | rmoretti | New Issue | |
| 2012-12-03 10:58 | smlewis | Note Added: 0000130 | |
| 2013-03-01 12:24 | smlewis | Description Updated | bug_revision_view_page.php?rev_id=55#r55 |
| 2013-03-07 15:50 | Labonte | Relationship added | related to 0000201 |