Bug#1012498: finalcif: FTBFS with python3-gemmi 0.5.5+ds

Andrius Merkys merkys at debian.org
Wed Jun 8 13:01:01 BST 2022


Source: finalcif
Version: 104+dfsg-1
Severity: serious
Tags: ftbfs

finalcif FTBFS with python3-gemmi 0.5.5+ds:

self = <finalcif.cif.cif_file_io.CifContainer object at 0x7fc6b0353bb0>

    @property
    def is_centrosymm(self) -> bool:
        """
        Whether a structuere is centro symmetric or not.
        """
        if not self.symmops or self.symmops == ['']:
            # Do not crash without symmops
            return False
        ops = gemmi.GroupOps([gemmi.Op(o) for o in self.symmops])
>       return ops.is_centric()
E       AttributeError: 'gemmi.GroupOps' object has no attribute
'is_centric'

finalcif/cif/cif_file_io.py:567: AttributeError

It worked fine with python3-gemmi 0.5.4+ds, thus the cause is API change
in python3-gemmi.

Andrius



More information about the debian-science-maintainers mailing list