Skip to content

Commit

Permalink
Merge pull request #146 from sennetconsortium/libpitt/ot-support
Browse files Browse the repository at this point in the history
Add support for Other, OT type code
  • Loading branch information
maxsibilla authored Sep 26, 2023
2 parents 15bed43 + 012e4b3 commit 9b5ddaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/entity_CRUD/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,7 @@ def validate_samples(headers, records, header):
Entities = Ontology.ops().entities()

organ_types_codes = list(Ontology.ops(as_data_dict=True, key='rui_code', val_key='term').organ_types().keys())
organ_types_codes.append('OT')

rownum = 0
valid_ancestor_ids = []
Expand Down

0 comments on commit 9b5ddaf

Please sign in to comment.