Skip to content
Snippets Groups Projects
Commit 2a7421cf authored by Andy Yates's avatar Andy Yates
Browse files

Make the efo search case-insensitive

parent e2a84aab
No related branches found
No related tags found
No related merge requests found
......@@ -488,7 +488,7 @@ if ($delete_unknown) {
#if parsing an EFO obo file delete xref lines - not compatible with OBO:Parser
#requires correct default-namespace defined
my $efo_default_namespace;
my @returncode = `grep "default-namespace: efo" $obo_file_name`;
my @returncode = `grep -i "default-namespace: efo" $obo_file_name`;
@returncode = `grep 'property_value: "hasDefaultNamespace" "EFO"' $obo_file_name` if scalar(@returncode) == 0;
my $returncode = @returncode;
if ($returncode > 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment