@@ -64,7 +64,7 @@ def generate_class_graph_template(ccf_tools_df :pd.DataFrame, log_dict: dict):
6464 'OBO_Validated_surrounds' : '>A CCFH:IN_OBO' ,
6565 'validation_date_surrounds' : '>A dc:date' }
6666
67- seed_sub = {'ID' : 'ID' , 'in_subset' : 'AI in_subset' , 'present_in_taxon' : 'AI present_in_taxon' }
67+ seed_sub = {'ID' : 'ID' , 'in_subset' : 'AI in_subset' }
6868 seed_no_valid = {'ID' : 'ID' , 'ccf_part_of' : 'SC ccf_part_of some %' , 'ccf_located_in' : 'SC ccf_located_in some %' }
6969 image_report = []
7070 ug = UberonGraph ()
@@ -120,13 +120,13 @@ def generate_class_graph_template(ccf_tools_df :pd.DataFrame, log_dict: dict):
120120 records .append ({'ID' : r ['o' ], 'User_label' : r ['user_olabel' ]})
121121
122122 if 'UBERON' in r ['s' ]:
123- records_ub_sub .append ({'ID' : r ['s' ], 'present_in_taxon' : 'NCBITaxon:9606' , ' in_subset' : 'human_reference_atlas' })
123+ records_ub_sub .append ({'ID' : r ['s' ], 'in_subset' : 'human_reference_atlas' })
124124 if 'UBERON' in r ['o' ]:
125- records_ub_sub .append ({'ID' : r ['o' ], 'present_in_taxon' : 'NCBITaxon:9606' , ' in_subset' : 'human_reference_atlas' })
125+ records_ub_sub .append ({'ID' : r ['o' ], 'in_subset' : 'human_reference_atlas' })
126126 if 'CL' in r ['s' ] and not 'PCL' in r ['s' ]:
127- records_cl_sub .append ({'ID' : r ['s' ], 'present_in_taxon' : 'NCBITaxon:9606' , ' in_subset' : 'human_reference_atlas' })
127+ records_cl_sub .append ({'ID' : r ['s' ], 'in_subset' : 'human_reference_atlas' })
128128 if 'CL' in r ['o' ] and not 'PCL' in r ['o' ]:
129- records_cl_sub .append ({'ID' : r ['o' ], 'present_in_taxon' : 'NCBITaxon:9606' , ' in_subset' : 'human_reference_atlas' })
129+ records_cl_sub .append ({'ID' : r ['o' ], 'in_subset' : 'human_reference_atlas' })
130130
131131 if ('CL' in r ['s' ] or 'PCL' in r ['s' ]) and 'UBERON' in r ['o' ]:
132132 terms_ct_as .add (f"({ r ['s' ]} { r ['o' ]} )" )
0 commit comments