def _grp_store_group(self, traj_group, store_data=pypetconstants.STORE_DATA,<EOL>with_links=True, recursive=False, max_depth=None,<EOL>_hdf5_group=None, _newly_created=False):
if store_data == pypetconstants.STORE_NOTHING:<EOL><INDENT>return<EOL><DEDENT>elif store_data == pypetconstants.STORE_DATA_SKIPPING and traj_group._stored:<EOL><INDENT>self._logger.debug('<STR_LIT>' %<EOL>traj_group.v_full_name)<EOL><DEDENT>elif not recursive:<EOL><INDENT>if _hdf5_group is None:<EOL><INDENT>_hdf5_group, _newly_created = self._all_create_or_get_groups(traj_group.v_full_name)<EOL><DEDENT>overwrite = store_data == pypetconstants.OVERWRITE_DATA<EOL>if (traj_group.v_comment != '<STR_LIT>' and<EOL>(HDF5StorageService.COMMENT not in _hdf5_group._v_attrs or overwrite)):<EOL><INDENT>setattr(_hdf5_group._v_attrs, HDF5StorageService.COMMENT, traj_group.v_comment)<EOL><DEDENT>if ((_newly_created or overwrite) and<EOL>type(traj_group) not in (nn.NNGroupNode, nn.ConfigGroup, nn.ParameterGroup,<EOL>nn.DerivedParameterGroup, nn.ResultGroup)):<EOL><INDENT>setattr(_hdf5_group._v_attrs, HDF5StorageService.CLASS_NAME,<EOL>traj_group.f_get_class_name())<EOL><DEDENT>self._ann_store_annotations(traj_group, _hdf5_group, overwrite=overwrite)<EOL>self._hdf5file.flush()<EOL>traj_group._stored = True<EOL>self._node_processing_timer.signal_update()<EOL><DEDENT>if recursive:<EOL><INDENT>parent_traj_group = traj_group.f_get_parent()<EOL>parent_hdf5_group = self._all_create_or_get_groups(parent_traj_group.v_full_name)[<NUM_LIT:0>]<EOL>self._tree_store_nodes_dfs(parent_traj_group, traj_group.v_name, store_data=store_data,<EOL>with_links=with_links, recursive=recursive,<EOL>max_depth=max_depth, current_depth=<NUM_LIT:0>,<EOL>parent_hdf5_group=parent_hdf5_group)<EOL><DEDENT>
Stores a group node.

        For group nodes only annotations and comments need to be stored.