Skip to content

Commit

Permalink
Merge pull request #464 from Ensembl/bugfix/rr_display_name_format
Browse files Browse the repository at this point in the history
Allow for apostrophe's in display name, e.g. "Geoffroy's cat"
  • Loading branch information
marcoooo committed Mar 25, 2022
2 parents 27da75b + a25fcfb commit c826b4d
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 c826b4d

Please sign in to comment.