diff --git a/src/hub/dataload/sources/dbnsfp/dbnsfp_mapping_44a_v2.py b/src/hub/dataload/sources/dbnsfp/dbnsfp_mapping_44a_v2.py index 92b455f5..e09206e4 100644 --- a/src/hub/dataload/sources/dbnsfp/dbnsfp_mapping_44a_v2.py +++ b/src/hub/dataload/sources/dbnsfp/dbnsfp_mapping_44a_v2.py @@ -266,8 +266,6 @@ }, } }, - - "cds_strand": { "type": "keyword", "normalizer": "keyword_lowercase_normalizer" diff --git a/src/hub/dataload/sources/dbnsfp/dbnsfp_parser_44a_v2.py b/src/hub/dataload/sources/dbnsfp/dbnsfp_parser_44a_v2.py index a8f24a7a..02914f55 100644 --- a/src/hub/dataload/sources/dbnsfp/dbnsfp_parser_44a_v2.py +++ b/src/hub/dataload/sources/dbnsfp/dbnsfp_parser_44a_v2.py @@ -874,7 +874,7 @@ def load_file(path: str, assembly: str): # We guarantee that the protein field is always a list at this moment. See prune_protein() # if not isinstance(last_protein_field, list): # last_protein_field = [last_protein_field] - last_protein_field.append(curr_protein_field) + last_protein_field.extend(curr_protein_field) last_doc["dbnsfp"]["protein"] = last_protein_field continue