Anthony-Nolan / Atlas

A free & open-source Donor Search Algorithm Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better error messaging when importing a HF set with an unsupported nomenclature version

benbelow opened this issue · comments

On trying to upload a HF set with a nomenclature version that hasn't been processed (e.g. an old HF set for validation against consensus data, a new set before the matching data has been refreshed, or an upload on a new instance of Atlas that hasn't had any metadata dictionary creation run yet) - the HF set upload fails.

Expected: An alert should be sent with an appropriate error message that makes it clear that the HF set was using a nomenclature version that wasn't recognised

Actual: The alert has no details, and AI logs show that the exception thrown is a KeyNotFound exception in HlaValidator.cs - when trying to validate if g-group typings exist in the specified nomenclature.