docs: def UploadPDB(self, structure):
          """
          Uploads a structure to the Server.
          Allowed input format: Bio.PDB Structure object, PDB formatted string
          Returns id for future services.
          """
          
          if isinstance(structure, Entity): # SMCRA
              s = self._smcra_to_str(structure)
  
          elif isinstance(structure, str): # String
              s = structure
          
          else:
              raise ValueError('Unknown format. Use SMCRA object or string.')
              
          u = urllib.urlopen("http://www.cmbi.ru.nl/wiwsd/rest/UploadPDB", s)
          x = xml.dom.minidom.parse(u)
          
          id = x.getElementsByTagName("response")[0].childNodes[0].data
  
          return id