From d8cfa65191ee26ef83337b1a51e6f60c35af0b18 Mon Sep 17 00:00:00 2001 From: Magali Ruffier <mr6@ebi.ac.uk> Date: Thu, 13 Apr 2017 11:45:57 +0100 Subject: [PATCH] ignore changes that are the same --- misc-scripts/xref_mapping/XrefParser/MIMParser.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/misc-scripts/xref_mapping/XrefParser/MIMParser.pm b/misc-scripts/xref_mapping/XrefParser/MIMParser.pm index 040f06f95e..924339486c 100644 --- a/misc-scripts/xref_mapping/XrefParser/MIMParser.pm +++ b/misc-scripts/xref_mapping/XrefParser/MIMParser.pm @@ -141,6 +141,7 @@ sub run { } elsif($type eq "^"){ if(/\*FIELD\*\sTI\n[\^]\d+ MOVED TO (\d+)/){ + if ($1 eq $number) { next; } $old_to_new{$number} = $1; } else{ -- GitLab