Furthermore, the clean that DEFAULT_SPACE_GROUP_DESC is used is incorrect.
If I naively change this to match what the docstring claims, I get ValueError: Multiple space groups found: [<gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>] when running the docs workflow, I suppose since all files have the same space group.
Docstrings says https://github.com/scipp/essnmx/blob/611c89a6534e1c6cbb9e65c6f7705955e761a316/src/ess/nmx/mtz_io.py#L173-L175 but https://github.com/scipp/essnmx/blob/611c89a6534e1c6cbb9e65c6f7705955e761a316/src/ess/nmx/mtz_io.py#L194-L203 seems to override any info from files with the provided description.
Furthermore, the clean that
DEFAULT_SPACE_GROUP_DESC
is used is incorrect.If I naively change this to match what the docstring claims, I get
ValueError: Multiple space groups found: [<gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>, <gemmi.SpaceGroup("P 21 21 21")>]
when running the docs workflow, I suppose since all files have the same space group.