def read_string(self, st):
        """
            Parse a SOS capabilities document, returning an elementtree instance

            st should be an XML capabilities document
        """
        if not isinstance(st, bytes):
            raise ValueError(type(st) % "String must be of type bytes, not %s")
        return etree.fromstring(st)
dataset/ETHPy150Open geopython/OWSLib/owslib/swe/observation/sos100.py/SosCapabilitiesReader.read_string/swapped operands of `%`