def createSimpleResourceMap(ore_pid, sci_meta_pid, data_pids):
    """Create a simple resource map with one metadata document and n data objects."""
    ore = ResourceMap()
    ore.initialize(ore_pid)
    ore.addMetadataDocument(sci_meta_pid)
    ore.addDataDocuments(data_pids, sci_meta_pid)
    return ore
def createSimpleResourceMap ( ore_pid , sci_meta_pid , data_pids ) : ore = ResourceMap ( ) ore . initialize ( ore_pid ) ore . addMetadataDocument ( sci_meta_pid ) ore . addDataDocuments ( data_pids , sci_meta_pid ) return ore
Create a simple resource map with one metadata document and n data objects.