<commit_before>package Bio::SecreTary::Helix;

use strict;
use warnings;

# helix classes aa positions are 0-based, 

sub new {
    my $class = shift;
    my $self = bless {}, $class;

    $self->{center}   = [ undef, undef ];    # [position, score] position is 0-based
    $self->{nterm}    = [ undef, undef ];
    $self->{cterm}    = [ undef, undef ];
    $self->{sh_nterm} = [ undef, undef ];
    $self->{sh_cterm} = [ undef, undef ];
    $self->{score}    = undef; # overall score
    $self->{nt_in}    = undef; # TRUE for in-to-out orientation
    return $self;
}

sub set_center {
    my $self = shift;
    return $self->{center} = shift;
}

sub get_center {
    my $self = shift;
    return $self->{center};
}

sub set_nterm {<commit_msg>No  moose for now<commit_after>package Bio::SecreTary::Helix;

use strict;
use warnings;

# helix classes aa positions are 0-based, 

sub new {
    my $class = shift;
    my $self = bless {}, $class;



    $self->{center}   = [ undef, undef ];    # [position, score] position is 0-based
    $self->{nterm}    = [ undef, undef ];
    $self->{cterm}    = [ undef, undef ];
    $self->{sh_nterm} = [ undef, undef ];
    $self->{sh_cterm} = [ undef, undef ];
    $self->{score}    = undef; # overall score
    $self->{nt_in}    = undef; # TRUE for in-to-out orientation
    return $self;
}

 sub set_center {
     my $self = shift;
     return $self->{center} = shift;
 }

 sub get_center {
     my $self = shift;
     return $self->{center};
 }

sub set_nterm {
{'fraction_non_alphanumeric': 0.16489361702127658, 'fraction_numerical': 0.0026595744680851063, 'mean_word_length': 2.6797066014669926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '2329844', 'n_tokens_mistral': 576, 'n_tokens_neox': 535, 'n_words': 143}