def run_protected_plugin_runner_no_process_list(options, plugin, **kwargs): if 'data' in kwargs.keys(): tu.set_plugin_list(options, plugin, kwargs['data']) else: tu.set_plugin_list(options, plugin) plugin_runner = PluginRunner(options) exp = plugin_runner._run_plugin_list() return exp
def test_create_smaller_data_block(self): options = tu.set_experiment('tomo') plugin = 'savu.plugins.reshape.downsample_filter' tu.set_plugin_list(options, plugin) out_data_name = options['plugin_list'][1]['data']['out_datasets'][0] plugin_runner = PluginRunner(options) exp = plugin_runner._run_plugin_list() self.assertEqual(exp.index['in_data'][out_data_name].get_shape(), (91, 68, 80))
def plugin_runner(options): plugin_runner = PluginRunner(options) return plugin_runner._run_plugin_list()
def _run_plugin_list(self, options): plugin_runner = PluginRunner(options) exp = plugin_runner._run_plugin_list() return exp
def run_protected_plugin_runner(options): plugin_runner = PluginRunner(options) exp = plugin_runner._run_plugin_list() return exp
def plugin_runner(options): plugin_runner = PluginRunner(options) return plugin_runner._run_plugin_list()
def plugin_runner(options): # the real plugin runner runs a full plugin list plugin_runner = PluginRunner(options) return plugin_runner._run_plugin_list()
def main(): [options, args] = __option_parser() __check_input_params(args) options = _set_options(options, args) plugin_runner = PluginRunner(options) plugin_runner._run_plugin_list()
def run_protected_plugin_runner(options): plugin_runner = PluginRunner(options) exp = plugin_runner._run_plugin_list() return exp
def main(): [options, args] = __option_parser() __check_input_params(args) options = _set_options(options, args) plugin_runner = PluginRunner(options) plugin_runner._run_plugin_list()