<commit_before>#include <boost/lexical_cast.hpp>

#include "ComponentTreeHdf5Writer.h"

logger::LogChannel componenttreehdf5writerlog("componenttreehdf5writerlog", "[ComponentTreeHdf5Writer] ");

ComponentTreeHdf5Writer::ComponentTreeHdf5Writer(const H5::Group& group) :
	_group(group) {

	registerInput(_componentTree, "component tree");
}

void
ComponentTreeHdf5Writer::write() {

	updateInputs();
}

void
ComponentTreeHdf5Writer::updateOutputs() {

	writeComponentTree();
}<commit_msg>bugfix: ComponentTreeHdf5Writer didn't rewrite on "write()"<commit_after>#include <boost/lexical_cast.hpp>

#include "ComponentTreeHdf5Writer.h"

logger::LogChannel componenttreehdf5writerlog("componenttreehdf5writerlog", "[ComponentTreeHdf5Writer] ");

ComponentTreeHdf5Writer::ComponentTreeHdf5Writer(const H5::Group& group) :
	_group(group) {

	registerInput(_componentTree, "component tree");
}

void
ComponentTreeHdf5Writer::write() {

	updateInputs();

	writeComponentTree();
}

void
ComponentTreeHdf5Writer::updateOutputs() {

	writeComponentTree();
}
{'fraction_non_alphanumeric': 0.12332695984703633, 'fraction_numerical': 0.018164435946462717, 'mean_word_length': 10.258064516129032, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3009343', 'n_tokens_mistral': 346, 'n_tokens_neox': 336, 'n_words': 46}