URL: <http://gna.org/bugs/?23187> Summary: Deleting residue in GUI, and then open spin viewer crashes relax. Project: relax Submitted by: tlinnet Submitted on: Wed 14 Jan 2015 01:05:50 PM UTC Category: relax's source code Specific analysis category: All analyses Priority: 5 - Normal Severity: 3 - Normal Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: Repository: trunk Discussion Lock: Any Operating System: All systems _______________________________________________________ Details: If one open a state file, delete residues with GUI, and then open the spin-viewer, relax will crash. relax> residue.delete(res_id=':4') relax> residue.delete(res_id=':53') relax> residue.delete(res_id=':3') Traceback (most recent call last): File "/sbinlab2/software/python-enthought-dis/canopy-1.4.0-full-rh5-64/Canopy_64bit/User/lib/python2.7/site-packages/wx/_core.py", line 14614, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/gui/spin_viewer/frame.py", line 168, in refresh_safe self.tree_panel.update() File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/gui/spin_viewer/tree.py", line 885, in update self.update_mol(mol, mol_id) File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/gui/spin_viewer/tree.py", line 959, in update_mol self.prune_res(mol_branch_id, mol_id) File "/sbinlab2/tlinnet/software/NMR-relax/relax_trunk/gui/spin_viewer/tree.py", line 760, in prune_res for key in self.tree_ids[mol_branch_id]: RuntimeError: dictionary changed size during iteration _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?23187> _______________________________________________ Message sent via/by Gna! http://gna.org/