Skip to content
Snippets Groups Projects
Commit ceb7bf0a authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Proper check for HGNC_* when deciding whether to overwrite XP-named genes in target.

parent 781acc12
No related branches found
No related tags found
No related merge requests found
......@@ -602,8 +602,8 @@ sub check_overwrite_display_xref {
if ($to_dbname eq "RefSeq_dna_predicted" || $to_dbname eq "RefSeq_peptide_predicted") {
if (($from_species eq "human" && $from_dbname eq "HGNC") ||
($from_species eq "mouse" && $from_dbname eq "MarkerSymbol")) {
if (($from_species eq "human" && $from_dbname =~ /HGNC/) ||
($from_species eq "mouse" && $from_dbname =~ /MarkerSymbol/)) {
return 1;
......
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