######################################## see READme file for instructions! #####################################################################################################################################################################################
# all lists must be the same length to convert it to dataframe
assertlen(df_name_list)==len(df_Formula_list)==len(df_MolWeight_list)==len(df_Structure_list)==len(df_ID_list),"Error: all lists must be the same length to convert it to dataframe"
# all lists must be the same length to convert it to dataframe
assertlen(df_name_list_com)==len(df_Formula_list_com)==len(df_MolWeight_list_com)==len(df_Structure_list_com)==len(df_ID_list_com),"Error: all lists must be the same length to convert it to dataframe"
# if TP has CAS number then it was studied before and we want to look for new TPs, however if it has no CAS number then the chance is higher that it is only a wanky prediction and not an actual TP that is observed in the environment
forparentindata_dict_com:
fortpindata_dict_com[parent]["TP_dict"]:
iflen(data_dict_com[parent]["TP_dict"][tp]["CAS"])>1:# if TP has (at least one) CAS number, then reduce score (empty string "" has len 0)