def complete_node_with_no_path( node ):
    tmpres = cmds.ls( expand(node) )
    #print "node_with_no_path", tmpres, node, expand(node)
    res = []
    for x in tmpres:
        x =  finalPipe(x.split('|')[-1])
        #x = finalPipe(x)
        if x not in res:
            res.append( x )
    #print res
    return res
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/tools/ipymel.py/complete_node_with_no_path/original