harbor.pli.plip_analysis_schema.collect_duplicates
- harbor.pli.plip_analysis_schema.collect_duplicates(plints: list[ProteinLigandInteraction]) list[ProteinLigandInteraction][source]
This function takes a list of ProteinLigandInteractions and returns a list of unique interactions with the count updated if any duplicates are found.
- Parameters:
plints (list[ProteinLigandInteraction]) – A list of ProteinLigandInteraction objects, potentially with duplicates.
- Return type:
list[ProteinLigandInteraction]