def __init__(self, org, name, repo, publication_metadata=None):
    if not isinstance(org, string_types):
      raise ValueError("org must be {} but was {}".format(string_types, org))
    if not isinstance(name, string_types):
      raise ValueError("name must be {} but was {}".format(string_types, name))
    if not isinstance(repo, Repository):
      raise ValueError("repo must be an instance of Repository")

    if (publication_metadata is not None
        and not isinstance(publication_metadata, PublicationMetadata)):
      raise ValueError("publication_metadata must be a {} but was a {}"
                       .format(PublicationMetadata, type(publication_metadata)))

    self.org = org
    self._base_name = name
    self.repo = repo
    self.publication_metadata = publication_metadata
Draw a circle given a location and a radius.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/artifact.py/Artifact.__init__--crossover with--dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/DrawingLayer.py/DrawingLayer.circle