func (p *IPSelectorSync) Out(name string) *sp.OutPort {
	if _, ok := p.OutPorts()[name]; !ok {
		p.InitOutPort(p, name)
	}
	return p.OutPort(name)
}
Out returns an out-port if it exists, or creates it before, if it does not exist
package components
import (
	"strings"
	"github.com/scipipe/scipipe"
	sp "github.com/scipipe/scipipe"
)
func NewIPSelectorSync(wf *sp.Workflow, name string, includeFunc func(ip *sp.FileIP) bool) *IPSelectorSync {
	p := &IPSelectorSync{
		BaseProcess: sp.NewBaseProcess(wf, name),
		includeFunc: includeFunc,
	}
	wf.AddProc(p)
	return p
}
type IPSelectorSync struct {
	sp.BaseProcess
	includeFunc func(*sp.FileIP) bool
}
func (p *IPSelectorSync) In(name string) *sp.InPort {
	if _, ok := p.InPorts()[name]; !ok {
		p.InitInPort(p, name)
	}
	return p.InPort(name)
}