Project: datamanagement
Issue DM-1505: confusing error message when enabling unregistered items in RegistryField
pex_config seems to split out this confusing error message when trying to enable (i.e. append to .names) a registry item that doesn't exist: {code:hide-linenum} File "/home/lam3/tigress/LSST/obs_subaru/config/processCcd.py", line 51, in root.measurement.algorithms.names |= ["jacobian", "focalplane"] File "/tigress/HSC/LSST/lsstsw/anaconda/lib/python2.7/_abcoll.py", line 330, in __ior__ self.add(value) File "/tigress/HSC/LSST/lsstsw/stack/Linux64/pex_config/9.0+26/python/lsst/pex/config/configChoiceField.py", line 72, in add r = self.__getitem__(value, at=at) AttributeError: 'SelectionSet' object has no attribute '__getitem__' {code}
Story points: 1