cctbx / cctbx_project

Computational Crystallography Toolbox
https://cci.lbl.gov/docs/cctbx
Other
218 stars 116 forks source link

Fix miller array `repr` when `label_string()` returns `None` #977

Closed dagewa closed 6 months ago

dagewa commented 6 months ago

I came across this whilst running this script on data in space group $F d d 2$. Simplest solution: if label_string() returns None just wrap it in a str() call.