func (p *FileGlobber) Run() {
	defer p.CloseAllOutPorts()
	if _, ok := p.InPorts()["in_dep"]; ok {
		for range p.InDependency().Chan {
		}
	}
	p.globFiles()
}
Run runs the FileGlobber process
package components
import (
	"path/filepath"
	"github.com/scipipe/scipipe"
)
type FileGlobber struct {
	scipipe.BaseProcess
	globPatterns []string
}
func NewFileGlobber(wf *scipipe.Workflow, name string, globPatterns ...string) *FileGlobber {
	if len(globPatterns) < 1 {
		scipipe.Failf("FileGlobber with name '%s': No glob paths supplied! Must take at least one glob path. You might also have forgot to provide a name to the fileglobber.", name)
	}
	p := &FileGlobber{
		BaseProcess:  scipipe.NewBaseProcess(wf, name),
		globPatterns: globPatterns,
	}
	p.InitOutPort(p, "out")
	wf.AddProc(p)
	return p
}
func NewFileGlobberDependent(wf *scipipe.Workflow, name string, globPatterns ...string) *FileGlobber {
	p := NewFileGlobber(wf, name, globPatterns...)
	p.InitInPort(p, "in_dep")
	return p
}
func (p *FileGlobber) Out() *scipipe.OutPort { return p.OutPort("out") }
func (p *FileGlobber) InDependency() *scipipe.InPort { return p.InPort("in_dep") }