From 68eaf071900d8f6de4e92c03da6c43c505774365 Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Wed, 5 Nov 2025 11:18:37 +0100 Subject: [PATCH] ignore case when ordering properties. This mainly affects the "IRI" property. --- pipeline/translator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/translator.py b/pipeline/translator.py index 5fe490ce..20a8da5b 100644 --- a/pipeline/translator.py +++ b/pipeline/translator.py @@ -221,7 +221,7 @@ def filter_instance(instance): "openminds_type": openminds_type, "schema_version": self.version, "context_vocab": self.context_vocab, - "properties": properties, + "properties": sorted(properties, key=lambda p: p["name"].lower()), "additional_methods": "", "instances": instances, }