Skip to content

Commit

Permalink
cl_kg cluster individuals creation
Browse files Browse the repository at this point in the history
  • Loading branch information
hkir-dev committed Oct 14, 2024
1 parent de66293 commit 3352eeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scripts/dosdp_template_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def generate_nsforest_markers_template(agreed: bool, output_filepath: str):
raise ValueError(f"Agreed marker '{row['class']}' is not a CL term.")
class_template.append({
"defined_class": row["Marker_set"],
"Marker_set_of": get_cl_label(cl_ontology, row["class"], row["Cell_type"]),
"Marker_set_of": get_cl_label(cl_ontology, row["cl_class"], row["Cell_type"]),
"Minimal_markers": row["Minimal_markers"],
"Minimal_markers_label": row["Minimal_markers_label"],
"Organ": row["Organ"],
Expand Down Expand Up @@ -186,7 +186,6 @@ def generate_kg_indvs_robot_template():
CK_KG Cluster individuals has auto-generated IDs. So this template should be regenerated with
each CL_KG update.
"""
delete_file(CL_KG_TEMPLATE_PATH)
neo_client = None
try:
neo_client = Neo4jClient("neo4j://172.27.24.69:7687", "", "")
Expand Down

0 comments on commit 3352eeb

Please sign in to comment.