From d86b0bbcba4a815f21e102aff58b6200c340ac38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Mon, 3 Jun 2024 13:58:02 +0200 Subject: [PATCH] MAITN: make selection of properties case insensitive --- src/caoscrawler/identifiable_adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caoscrawler/identifiable_adapters.py b/src/caoscrawler/identifiable_adapters.py index 52e3bce5..c6dfd062 100644 --- a/src/caoscrawler/identifiable_adapters.py +++ b/src/caoscrawler/identifiable_adapters.py @@ -353,7 +353,7 @@ class IdentifiableAdapter(metaclass=ABCMeta): # property continue - options = [p.value for p in se.properties if p.name == prop.name] + options = [p.value for p in se.properties if p.name.lower() == prop.name.lower()] if len(options) == 0: raise MissingIdentifyingProperty( f"The following record is missing an identifying property:\n" -- GitLab