diff --git a/tdb/vidrl_upload.py b/tdb/vidrl_upload.py index 91500de..bea8e05 100644 --- a/tdb/vidrl_upload.py +++ b/tdb/vidrl_upload.py @@ -432,11 +432,12 @@ def standardize_human_serum(record: dict, passage_field: str) -> dict: return record new_record = record.copy() - # TODO: Translate passage to egg/cell to support vaccine strain verification + # We are purposely _not_ verifying serum_strain/serum_passage against the VACCINE_MAPPING. + # VIDRL uses reference antigens that are proxies for the human serum + # vaccine strains so these do not always align with the exact egg/cell vaccine strains. + # -Jover, 04 November 2024 new_record["serum_passage"] = new_record[passage_field] human_serum_id = new_record["serum_abbr"] - - # TODO: Verify the serum strain matches the year's vaccine strain new_record["serum_strain"] = re.sub(r"pool$", "", new_record["serum_strain"]) _, new_record["serum_id"] = parse_human_serum_id(human_serum_id, HUMAN_SERA_YEAR_REGEX) return new_record