cctbx_project icon indicating copy to clipboard operation
cctbx_project copied to clipboard

xray.scattering_type_registry() is dict-like without being iterable

Open graeme-winter opened this issue 5 years ago • 0 comments

xray.scattering_type_registry() behaves like a dictionary i.e. has has_key methods and is indexed by string keys but is not iterable so cannot ask if thing in reg.

Since it looks like a dict is it worth adding a few methods to make it iterable like a dict?

graeme-winter avatar May 01 '19 07:05 graeme-winter