code: def convert(self, chain_id, residue_id, from_scheme, to_scheme):
          '''The API conversion function. This converts between the different residue ID schemes.'''
  
          # At the cost of three function calls, we ignore the case of the scheme parameters to be more user-friendly.
          from_scheme = from_scheme.lower()
          to_scheme = to_scheme.lower()
          assert(from_scheme in ResidueRelatrix.schemes)
          assert(to_scheme in ResidueRelatrix.schemes)
          return self._convert(chain_id, residue_id, from_scheme, to_schemef convert(self, chain_id, residue_id, from_scheme, to_scheme):
          '''The API conversion function. This converts between the different residue ID schemes.'''
  
          # At the cost of three function calls, we ignore the case of the scheme parameters to be more user-friendly.
          from_scheme = from_scheme.lower()
          to_scheme = to_scheme.lower()
          assert(from_scheme in ResidueRelatrix.schemes)
          assert(to_scheme in ResidueRelatrix.schemes)
          return self._convert(chain_id, residue_id, from_scheme, to_scheme)
docs: The API conversion function. This converts between the different residue ID schemes.