Skip to content

Commit

Permalink
Allow for _ to be part of the display name format.
Browse files Browse the repository at this point in the history
Example: Xenopus laevis (J_2021) - GCA_017654675.1
  • Loading branch information
ens-carlos committed Jan 10, 2022
1 parent 548e1e9 commit e0c5909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bio/EnsEMBL/DataCheck/Checks/DisplayNameFormat.pm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sub tests {
my $mca = $self->dba->get_adaptor("MetaContainer");

# Check that the format of the display name conforms to expectations.
my $format = '[A-Za-z0-9\ ]+ \([A-Za-z0-9\(\)\/\-\ ]+\) \- GCA_\d+\.\d+';
my $format = '[A-Za-z0-9\ ]+ \([A-Za-z0-9\(\)\/\-\_ ]+\) \- GCA_\d+\.\d+';

my $desc = "Display name has correct format";
my $display_name = $mca->single_value_by_key('species.display_name');
Expand Down

0 comments on commit e0c5909

Please sign in to comment.