<commit_before>package CoGe::Builder::Tools::DotplotDots;

use Moose;

use File::Path;

sub build {
	my $self = shift;

	# Validate inputs
	my $genome_id1 = $self->params->{genome_id1};
	return unless $genome_id1;
	my $genome_id2 = $self->params->{genome_id2};
	return unless $genome_id2;
	my $ksfile = $self->params->{ksfile};
	return unless $ksfile;<commit_msg>adding use File::Spec<commit_after>package CoGe::Builder::Tools::DotplotDots;

use Moose;

use File::Spec::Functions;

sub build {
	my $self = shift;

	# Validate inputs
	my $genome_id1 = $self->params->{genome_id1};
	return unless $genome_id1;
	my $genome_id2 = $self->params->{genome_id2};
	return unless $genome_id2;
	my $ksfile = $self->params->{ksfile};
	return unless $ksfile;
{'fraction_non_alphanumeric': 0.15302013422818792, 'fraction_numerical': 0.016107382550335572, 'mean_word_length': 5.7207207207207205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '5213469', 'n_tokens_mistral': 293, 'n_tokens_neox': 279, 'n_words': 63}