Skip to content

Commit 68eaf07

Browse files
committed
ignore case when ordering properties. This mainly affects the "IRI" property.
1 parent dd6704c commit 68eaf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def filter_instance(instance):
221221
"openminds_type": openminds_type,
222222
"schema_version": self.version,
223223
"context_vocab": self.context_vocab,
224-
"properties": properties,
224+
"properties": sorted(properties, key=lambda p: p["name"].lower()),
225225
"additional_methods": "",
226226
"instances": instances,
227227
}

0 commit comments

Comments
 (0)