def createSimpleResourceMap(ore_pid, scimeta_pid, sciobj_pid_list):
    """Create a simple OAI-ORE Resource Map with one Science Metadata document and any
    number of Science Data objects.

    This creates a document that establishes an association between a Science Metadata
    object and any number of Science Data objects. The Science Metadata object contains
    information that is indexed by DataONE, allowing both the Science Metadata and the
    Science Data objects to be discoverable in DataONE Search. In search results, the
    objects will appear together and can be downloaded as a single package.

    Args:
      ore_pid: str
        Persistent Identifier (PID) to use for the new Resource Map

      scimeta_pid: str
        PID for an object that will be listed as the Science Metadata that is
        describing the Science Data objects.

      sciobj_pid_list: list of str
        List of PIDs that will be listed as the Science Data objects that are being
        described by the Science Metadata.

    Returns:
      ResourceMap : OAI-ORE Resource Map

    """
    ore = ResourceMap()
    ore.initialize(ore_pid)
    ore.addMetadataDocument(scimeta_pid)
    ore.addDataDocuments(sciobj_pid_list, scimeta_pid)
    return ore
def createSimpleResourceMap ( ore_pid , scimeta_pid , sciobj_pid_list ) : ore = ResourceMap ( ) ore . initialize ( ore_pid ) ore . addMetadataDocument ( scimeta_pid ) ore . addDataDocuments ( sciobj_pid_list , scimeta_pid ) return ore
Create a simple OAI-ORE Resource Map with one Science Metadata document and any
    number of Science Data objects.

    This creates a document that establishes an association between a Science Metadata
    object and any number of Science Data objects. The Science Metadata object contains
    information that is indexed by DataONE, allowing both the Science Metadata and the
    Science Data objects to be discoverable in DataONE Search. In search results, the
    objects will appear together and can be downloaded as a single package.

    Args:
      ore_pid: str
        Persistent Identifier (PID) to use for the new Resource Map

      scimeta_pid: str
        PID for an object that will be listed as the Science Metadata that is
        describing the Science Data objects.

      sciobj_pid_list: list of str
        List of PIDs that will be listed as the Science Data objects that are being
        described by the Science Metadata.

    Returns:
      ResourceMap : OAI-ORE Resource Map