def _srvc_make_overview_tables(self, tables_to_make, traj=None):
for table_name in tables_to_make:<EOL><INDENT>paramdescriptiondict = {}<EOL>expectedrows = <NUM_LIT:0><EOL>paramdescriptiondict['<STR_LIT:location>'] = pt.StringCol(<EOL>pypetconstants.HDF5_STRCOL_MAX_LOCATION_LENGTH,<EOL>pos=<NUM_LIT:0>)<EOL>paramdescriptiondict['<STR_LIT:name>'] = pt.StringCol(pypetconstants.HDF5_STRCOL_MAX_NAME_LENGTH,<EOL>pos=<NUM_LIT:1>)<EOL>paramdescriptiondict['<STR_LIT>'] = pt.StringCol(<EOL>pypetconstants.HDF5_STRCOL_MAX_COMMENT_LENGTH)<EOL>paramdescriptiondict['<STR_LIT:value>'] = pt.StringCol(<EOL>pypetconstants.HDF5_STRCOL_MAX_VALUE_LENGTH, pos=<NUM_LIT:2>)<EOL>if table_name == '<STR_LIT>':<EOL><INDENT>if traj is not None:<EOL><INDENT>expectedrows = len(traj._config)<EOL><DEDENT><DEDENT>if table_name == '<STR_LIT>':<EOL><INDENT>if traj is not None:<EOL><INDENT>expectedrows = len(traj._parameters)<EOL><DEDENT><DEDENT>if table_name == '<STR_LIT>':<EOL><INDENT>paramdescriptiondict['<STR_LIT>'] = pt.StringCol(<EOL>pypetconstants.HDF5_STRCOL_MAX_RANGE_LENGTH)<EOL>paramdescriptiondict['<STR_LIT>'] = pt.IntCol()<EOL>if traj is not None:<EOL><INDENT>expectedrows = len(traj._explored_parameters)<EOL><DEDENT><DEDENT>if table_name.endswith('<STR_LIT>'):<EOL><INDENT>paramdescriptiondict['<STR_LIT>'] = pt.StringCol(<NUM_LIT:64>, pos=<NUM_LIT:10>)<EOL><DEDENT>if table_name == '<STR_LIT>':<EOL><INDENT>expectedrows = self._derived_parameters_per_run<EOL>if traj is not None:<EOL><INDENT>expectedrows *= len(traj)<EOL>expectedrows += len(traj._derived_parameters)<EOL><DEDENT><DEDENT>if table_name == '<STR_LIT>':<EOL><INDENT>expectedrows = self._results_per_run<EOL>if traj is not None:<EOL><INDENT>expectedrows *= len(traj)<EOL>expectedrows += len(traj._results)<EOL><DEDENT><DEDENT>if expectedrows > <NUM_LIT:0>:<EOL><INDENT>paramtable = self._all_get_or_create_table(where=self._overview_group,<EOL>tablename=table_name,<EOL>description=paramdescriptiondict,<EOL>expectedrows=expectedrows)<EOL><DEDENT>else:<EOL><INDENT>paramtable = self._all_get_or_create_table(where=self._overview_group,<EOL>tablename=table_name,<EOL>description=paramdescriptiondict)<EOL><DEDENT>paramtable.flush()<EOL><DEDENT>
Creates the overview tables in overview group