Hello,
Tim says he meant for it to be that any ensemble without models would be
deleted, although that is evidently not happening currently. But it seems
that you have a reason to have an empty ensemble, if I am understanding
the below correctly, so presumably you want that to be allowed.
Wayne
On Thu, 17 Jun 2010, Brian Smith wrote:
> Hi,
>
> I tried creating a new empty structure ensemble to load structures
> into with fC by importing a single structure (Structure->Structures->Import)
> and then deleting the single model. While the ensemble remains in the table,
> it becomes unselectable with an
>
> Traceback (most recent call last):
> File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> return self.func(*args)
> File "/usr/local/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledMatrix.py",
> line 736, in mouseClick
> self.selectCell(row,col)
> File "/usr/local/ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledMatrix.py",
> line 1828, in selectCell
> self.callback(self.currentObject, objRow, objCol)
> File
> "/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/EditStructures.py",
> line 961, in selectStructure
> self.changeEnsemble(structure)
> File
> "/usr/local/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/EditStructures.py",
> line 724, in changeEnsemble
> self.model = ensemble.sortedModels()[0]
> IndexError: list index out of range
>
>
> --
> Dr. Brian O. Smith ---------------------- B Smith at bio gla ac uk
> Division of Molecular & Cellular Biology,
> Faculty of Biomedical & Life Sciences,
> Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
> Tel: 0141 330 5167/6459/3089 Fax: 0141 330 4600
> -------------------------------------------------------------------
> The University of Glasgow, charity number SC004401
>
|