From 8b56306f811dec245e91a20140a217f912be80dd Mon Sep 17 00:00:00 2001 From: Dominick Leppich Date: Mon, 25 Nov 2024 10:27:58 +0100 Subject: [PATCH] fix: relation column logic for same type relations --- migration/lib/mets_manipulator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/migration/lib/mets_manipulator.py b/migration/lib/mets_manipulator.py index e05349e..1f660b6 100644 --- a/migration/lib/mets_manipulator.py +++ b/migration/lib/mets_manipulator.py @@ -197,6 +197,9 @@ def process_vocabulary_reference_by_value(self, node): else: search_field='Relationship type' inverse_search_field='Reverse relationship' + else: + search_field='Relationship type' + inverse_search_field='Reverse relationship' try: # First, try to find the value in the correct column