code: def int32_to_negative(int32):
      
      dct = {}
      if int32 == 4294967295:  # Special case in some structures (note, this is just a workaround)
          return -1
      for i in range(-1000, -1):
          dct[np.uint32(i)] = i
      if int32 in dct:
          return dct[int32]
      else:
          return int32
docs: Checks if a suspicious number (e.g. ligand position) is in fact a negative number represented as a
      32 bit integer and returns the actual number.