Skip to content

Commit

Permalink
at parity
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento007 committed Mar 12, 2024
1 parent 78c5780 commit b01f3f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/ontology-builder/src/compute_descendent_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ def compare_descendant_mappings(file_1: str, file_2: str) -> None:
PROD_DATASETS = load_prod_datasets()
generate_cell_descendant_mapping(ONTOLOGY_PARSER, PROD_DATASETS)
generate_tissue_descendant_mapping(ONTOLOGY_PARSER, PROD_DATASETS)
compare_descendant_mappings("cell_type_descendants.json", "cell_type_descendants (1).json")
compare_descendant_mappings("cell_type_descendants.json", "cell_type_descendants_cxg_2.json")
compare_descendant_mappings("tissue_descendants.json", "tissue_descendants (1).json")
compare_descendant_mappings("tissue_descendants.json", "tissue_descendants_cxg_2.json")

with contextlib.suppress(FileNotFoundError):
compare_descendant_mappings("cell_type_descendants.json", "cell_type_descendants_last.json")
with contextlib.suppress(FileNotFoundError):
compare_descendant_mappings("tissue_descendants.json", "tissue_descendants_last.json")

0 comments on commit b01f3f8

Please sign in to comment.