Skip to content

Commit 7e3e3ff

Browse files
authored
Merge pull request #72 from apdavison/lower-case-sort
Ignore case when ordering properties.
2 parents dd6704c + 68eaf07 commit 7e3e3ff

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)