<commit_before>package MIP::File_info;

use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Basename qw{ dirname fileparse };
use File::Spec::Functions qw{ catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use strict;
use utf8;
use warnings;
use warnings qw{ FATAL utf8 };

## CPANM
use autodie qw{ :all };
use Readonly;

## MIPs lib/
use MIP::Constants qw{ $GENOME_VERSION $LOG_NAME $NEWLINE $SPACE };

BEGIN {
    require Exporter;
    use base qw{ Exporter };

    # Set the version for version checking
    our $VERSION = 1.12;

    # Functions and variables which can be optionally exported
    our @EXPORT_OK = qw{
      add_sample_fastq_file_lanes
      check_parameter_metafiles
      get_is_sample_files_compressed
      get_sample_file_attribute
      parse_file_compression_features
      parse_files_compression_status
      parse_sample_fastq_file_attributes
      parse_select_file_contigs
      set_alt_loci_contigs
      set_bam_contigs
      set_dict_contigs
      set_file_tag
      set_infiles
      set_is_sample_files_compressed
      set_human_genome_reference_features
      set_primary_contigs
      set_sample_file_attribute
      set_select_file_contigs
    };
}

## Constants
Readonly my $INTERLEAVED_READ_DIRECTION = 3;

sub add_sample_fastq_file_lanes {
<commit_msg>fix(Readonly): fixed constant assignment<commit_after>package MIP::File_info;

use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Basename qw{ dirname fileparse };
use File::Spec::Functions qw{ catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use strict;
use utf8;
use warnings;
use warnings qw{ FATAL utf8 };

## CPANM
use autodie qw{ :all };
use Readonly;

## MIPs lib/
use MIP::Constants qw{ $GENOME_VERSION $LOG_NAME $NEWLINE $SPACE };

BEGIN {
    require Exporter;
    use base qw{ Exporter };

    # Set the version for version checking
    our $VERSION = 1.12;

    # Functions and variables which can be optionally exported
    our @EXPORT_OK = qw{
      add_sample_fastq_file_lanes
      check_parameter_metafiles
      get_is_sample_files_compressed
      get_sample_file_attribute
      parse_file_compression_features
      parse_files_compression_status
      parse_sample_fastq_file_attributes
      parse_select_file_contigs
      set_alt_loci_contigs
      set_bam_contigs
      set_dict_contigs
      set_file_tag
      set_infiles
      set_is_sample_files_compressed
      set_human_genome_reference_features
      set_primary_contigs
      set_sample_file_attribute
      set_select_file_contigs
    };
}

## Constants
Readonly my $INTERLEAVED_READ_DIRECTION => 3;

sub add_sample_fastq_file_lanes {

{'fraction_non_alphanumeric': 0.06628652886671418, 'fraction_numerical': 0.007840342124019958, 'mean_word_length': 3.8902439024390243, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2056366', 'n_tokens_mistral': 978, 'n_tokens_neox': 945, 'n_words': 231}