def rootname_from_archive_olpath(node):
    olpath = node.get_property('ARCHIVE_OLPATH')
    if olpath:
        olpathlist = olpath.split('/', 1)
        if len(olpathlist) > 1:
            (rootname, dummy) = olpathlist
        else:
            rootname = olpath
        return rootname
    return None
Find rootname from ARCHIVE_OLPATH property.
dataset/ETHPy150Open tkf/orgviz/orgviz/dones.py/rootname_from_archive_olpath