def create_tooltip(self):

        self._short_sigstring = \
            "(" + ",".join(d.name for d in self.descriptors()) + ")"
        if self.type in ['input', 'output']:
            port_string = self.type.capitalize()
        else:
            port_string = 'Invalid'
        depth = " (depth %s)" % self.depth if self.depth else ''
        self._tooltip = "%s port %s\n%s%s" % (port_string,
                                            self.name,
                                            self._short_sigstring,
                                            depth)
        
    ##########################################################################
    # Operators
Maximal profit perfect matching
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/vistrail/port_spec.py/PortSpec.create_tooltip--crossover with--dataset/ETHPy150Open jilljenn/tryalgo/tryalgo/kuhn_munkres_n4.py/kuhn_munkres