# auto-generated by grc.converter id: multirds_tmc_parser label: tmc_parser category: '[multirds]' parameters: - id: maxheight label: maxheight dtype: int default: '160' hide: part - id: workdir label: work directory dtype: string hide: part - id: label label: Label dtype: string hide: ${ ('none' if label else 'part') } - id: log label: Log dtype: bool default: 'False' options: ['True', 'False'] option_labels: [Enable, Disable] - id: debug label: Debug dtype: bool default: 'False' options: ['True', 'False'] option_labels: [Enable, Disable] - id: writeDB label: write Database dtype: bool default: 'False' options: ['True', 'False'] option_labels: [Enable, Disable] - id: gui_hint label: GUI Hint dtype: gui_hint hide: part inputs: - domain: message id: in optional: true asserts: - ${ open(workdir+"event-list_with_forecast_sort.csv").close() or True } - ${ open(workdir+"directory_writable","w").close() or True } templates: imports: import multirds make: "<% win = 'self._%s_win'%id %>\n <% parser = 'self.%s_parser'%id\ \ %>\n% if not label:\n\t<% label = '\"%s\"'%id %>\n% endif\n${parser} = multirds.tmc_parser(${workdir},\ \ ${log}, ${debug}, ${writeDB},${maxheight})\n${win} = ${parser}.getqtwidget()\n\ ${gui_hint(in)}\n " documentation: "maxheight = max height of widget in pixels\n\t maxheight == 0 ->\ \ no restriction" file_format: 1