<commit_before>package CoGeX;

no warnings qw(redefine);
use strict;
use warnings;
use Data::Dumper;
use Cwd 'abs_path';

use base 'DBIx::Class::Schema';
use base qw(Class::Accessor);

#__PACKAGE__->load_classes();
__PACKAGE__->load_namespaces();
#__PACKAGE__->mk_accessors();

=head1 NAME

CoGeX - CoGeX

=head1 SYNOPSIS

  use CoGeX;
  This object is the API to the CoGe genomes database.  It uses DBIx::Class for managing
  relationships and access to the database.  Various other "high-level" functions are
  provided to make getting genomic data easier.

=head1 DESCRIPTION

Primary object for interacting with CoGe database system.

=head1 AUTHORS

 <NAME>
 <NAME>

=head1 COPYRIGHT

The full text of the license can be found in the
LICENSE file included with this module.

=head1 SEE ALSO

=cut

BEGIN {
    use vars qw( %pool ); # persistent db connection pool
}

################################################ subroutine header begin ##

=head2 dbconnect

 Usage     : use CoGeX;
             my $coge = CoGeX->dbconnect;
 Purpose   : generates the CoGeX API object
 Returns   : CoGeX object
 Argument  : none
 Throws    : none
 Comments  :

See Also   :

=cut

################################################## subroutine header end ##

sub dbconnect {<commit_msg>add version to fix warning on module compilation<commit_after>package CoGeX;

no warnings qw(redefine);
use strict;
use warnings;
use Data::Dumper;
use Cwd 'abs_path';

use base 'DBIx::Class::Schema';
use base qw(Class::Accessor);

#__PACKAGE__->load_classes();
__PACKAGE__->load_namespaces();
#__PACKAGE__->mk_accessors();

=head1 NAME

CoGeX - CoGeX

=head1 SYNOPSIS

  use CoGeX;
  This object is the API to the CoGe genomes database.  It uses DBIx::Class for managing
  relationships and access to the database.  Various other "high-level" functions are
  provided to make getting genomic data easier.

=head1 DESCRIPTION

Primary object for interacting with CoGe database system.

=head1 AUTHORS

 <NAME>
 <NAME>

=head1 COPYRIGHT

The full text of the license can be found in the
LICENSE file included with this module.

=head1 SEE ALSO

=cut

BEGIN {
    use vars qw( %pool $VERSION ); # persistent db connection pool
    $VERSION = 5.6;
}

################################################ subroutine header begin ##

=head2 dbconnect

 Usage     : use CoGeX;
             my $coge = CoGeX->dbconnect;
 Purpose   : generates the CoGeX API object
 Returns   : CoGeX object
 Argument  : none
 Throws    : none
 Comments  :

See Also   :

=cut

################################################## subroutine header end ##

sub dbconnect {
{'fraction_non_alphanumeric': 0.14858670741023683, 'fraction_numerical': 0.006111535523300229, 'mean_word_length': 4.186138613861386, 'pattern_counts': {'":': 0, '<': 7, '<?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': '640558', 'n_tokens_mistral': 820, 'n_tokens_neox': 792, 'n_words': 296}