We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5485494 commit ca38bb4Copy full SHA for ca38bb4
rdf_differ/entrypoints/ui/views.py
@@ -85,6 +85,16 @@ def view_dataset(dataset_id: str):
85
application_profiles]
86
form.template_type.choices = [(item, item) for item in
87
application_profiles[0]['template_variations']]
88
+
89
+ preferred_ap = 'owl-core-en-only'
90
91
+ if not form.application_profile.data and form.application_profile.choices:
92
+ matched = next(
93
+ (value for value, _ in form.application_profile.choices if value == preferred_ap),
94
+ None
95
+ )
96
+ form.application_profile.data = matched or form.application_profile.choices[0][0]
97
98
except Exception as e:
99
logger.exception(str(e))
100
0 commit comments