def initialize(executable_path=None):
    global _mesh_filter_path
    if not executable_path:
        print "Assuming mesh_filter is in path"
        _mesh_filter_path = 'mesh_filter'
    else:
        print "Assuming mesh_filter is in '%s'" % executable_path
        _mesh_filter_path = executable_path + '/mesh_filter'

    reg = core.modules.module_registry

    reg.add_module(MeshFilter)

    reg.add_input_port(MeshFilter, 'input_file',
                       core.modules.basic_modules.File)
    reg.add_input_port(MeshFilter, 'output_format',
                       core.modules.basic_modules.String)
    reg.add_output_port(MeshFilter, 'output_file',
                        core.modules.basic_modules.File)

    reg.add_module(PlanarSubdiv)
    reg.add_input_port(PlanarSubdiv, 'iterations',
                       core.modules.basic_modules.Integer)
dataset/ETHPy150Open VisTrails/VisTrails/contrib/trimesh2.py/initialize/original