def __init__(self,ucr_xml,lcfg_xml,ucr_id,out_xml,keep_parents=False,criteria='creators'): UCRSlicer.__init__(self, ucr_xml) UCFRHandler.__init__(self, lcfg_xml) self._input_ucr_xml = ucr_xml self._input_ucfr_xml = lcfg_xml self._ucr_id = ucr_id self._keep_parents = keep_parents self._criteria = criteria root_node = self.slice_ucr() self.write_slicing(out_xml,root_node)
def __init__(self,lcfg_xml,ucr_xml,exec_path,out_dir='.'): ExecRouteVisualizer.__init__(self, lcfg_xml) UCRSlicer.__init__(self, ucr_xml) self._out_dir = out_dir frame_names, routes = self.extract_frame_routes(exec_path) self.run(routes,frame_names,exec_path)