<commit_before>package EnsEMBL::Web::Root;

### Extends E::W::Root by adding a method needed by CRUD Components, Commands, etc

sub get_frontend_config {
### Instantiates the config module for the Ensembl CRUD frontend
  my $self = shift;
  my $config;

  my $class = 'EnsEMBL::ORM::DbFrontend::'.$self->model->hub->type;

  if (!$self->dynamic_use($class)) {
    ## Fall back to using generic configuration
    $class = 'EnsEMBL::ORM::DbFrontend';
  }
  $config = $class->new($self->model);
  return $config;
}
<commit_msg>Removed a warn<commit_after>package EnsEMBL::Web::Root;

### Extends E::W::Root by adding a method needed by CRUD Components, Commands, etc

sub get_frontend_config {
### Instantiates the config module for the Ensembl CRUD frontend
  my $self = shift;
  my $config;

  my $class = 'EnsEMBL::ORM::DbFrontend::'.$self->model->hub->type;

  if (!$self->dynamic_use($class)) {
    ## Fall back to using generic configuration
    use EnsEMBL::ORM::DbFrontend;
    $class = 'EnsEMBL::ORM::DbFrontend';
  }
  $config = $class->new($self->model);
  return $config;
}

1;
{'fraction_non_alphanumeric': 0.15469613259668508, 'fraction_numerical': 0.0009208103130755065, 'mean_word_length': 4.661458333333333, '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': '3722303', 'n_tokens_mistral': 382, 'n_tokens_neox': 369, 'n_words': 99}