<commit_before>package EnsEMBL::ORM::Rose::Manager::Membership;

### NAME: EnsEMBL::ORM::Rose::Manager::Membership
### Module to handle multiple Membership entries 

### DESCRIPTION:
### Enables fetching, counting, etc., of multiple Rose::Object::Membership objects

use strict;
use warnings;

use EnsEMBL::ORM::Rose::Object::Membership;

use base qw(EnsEMBL::ORM::Rose::Manager::Trackable);

sub object_class { 'EnsEMBL::ORM::Rose::Object::Membership' }

sub add_active_only_query {
  ## @overrides
  my ($self, $params) = @_;
  return $self->SUPER::add_active_only_query($params) if $params->{'object_class'} && $params->{'object_class'} ne $self->object_class;  #override only for Membership objects
  push @{$params->{'query'}},  qw(member_status active status active);
}

1;<commit_msg>removed method add_active_only_query<commit_after>package EnsEMBL::ORM::Rose::Manager::Membership;

### NAME: EnsEMBL::ORM::Rose::Manager::Membership
### Module to handle multiple Membership entries 

### DESCRIPTION:
### Enables fetching, counting, etc., of multiple Rose::Object::Membership objects

use strict;
use warnings;

use EnsEMBL::ORM::Rose::Object::Membership;

use base qw(EnsEMBL::ORM::Rose::Manager::Trackable);

sub object_class { 'EnsEMBL::ORM::Rose::Object::Membership' }

1;
{'fraction_non_alphanumeric': 0.16355140186915887, 'fraction_numerical': 0.001557632398753894, 'mean_word_length': 8.113475177304965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '1081717', 'n_tokens_mistral': 443, 'n_tokens_neox': 409, 'n_words': 89}