Anonymous | Login | 2025-02-18 10:27 CST | ![]() |
My View | View Issues |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000299 | Rosetta | [All Projects] Incorrect Results | public | 2013-08-12 13:10 | 2013-08-12 13:10 | ||||||||
Reporter | khouli | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | All platforms | OS | Any | OS Version | Any | ||||||||
Product Version | |||||||||||||
Fixed in Version | |||||||||||||
Summary | 0000299: Registering NeighborsByDistanceCalculator with same name as a removed calc creates bad neighbor entries | ||||||||||||
Description | Registering a NeighborsByDistanceCalculator, using it, removing it, then register one with the same name. The new one has the neighbor values of the old one and doesn't recognize the need to update. CalculatorFactory::Instance().register_calculator("myCalc", new NeighborsByDistanceCalculator(some_res) ); // run calc, fill vector of neighbors, do stuff... CalculatorFactory::Instance().remove_calculator("myCalc"); CalculatorFactory::Instance().register_calculator("myCalc", new NeighborsByDistanceCalculator(other_res) ); // calculator now mapped to "myCalc" has neighbor entries from first calc mapped to "myCalc" | ||||||||||||
Steps To Reproduce | With a function called repeatedly in a loop that does the steps: CalculatorFactory::Instance().register_calculator("myCalc", new NeighborsByDistanceCalculator(some_res) ); CalculatorFactory::Instance().remove_calculator("myCalc"); CalculatorFactory::Instance().register_calculator("myCalc", new NeighborsByDistanceCalculator(other_res) ); All calculators return the same vector of neighbors even for distant residues. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Application(s) Affected | na | ||||||||||||
Command Line Used | na | ||||||||||||
Developer Options | |||||||||||||
Fixed in SVN Version | |||||||||||||
Attached Files | |||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2013-08-12 13:10 | khouli | New Issue |
Copyright © 2000 - 2012 MantisBT Group |