We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b183a commit 3e9aa88Copy full SHA for 3e9aa88
ulc_mm_package/QtGUI/study_metadata_form.py
@@ -241,12 +241,12 @@ def get_cfg_from_study_id(study_id: str) -> Optional[Dict]:
241
return None
242
studies = list_available_studies()
243
for study in studies:
244
- cfg_study_id = studies[study]["study_description"]["id"]
+ cfg_study_id = studies[study]["study_description"]["key"]
245
if study_id == cfg_study_id:
246
return studies[study]
247
else:
248
raise ValueError(f"No matching study found for {study_id}")
249
250
251
def get_study_id_from_name(study_name: str) -> str:
252
- return list_available_studies()[study_name]["study_description"]["id"]
+ return list_available_studies()[study_name]["study_description"]["key"]
0 commit comments