Commit 99b08de5 authored by Fabien  MAREUIL's avatar Fabien MAREUIL
Browse files

bug fix pocketome cavity pl search

parent dc9de9d6
Pipeline #51349 passed with stages
in 24 minutes and 12 seconds
......@@ -292,13 +292,12 @@ def to_minus(value):
@register.filter
def build_name(cavity):
if cavity.partner.is_ligand:
return "{}-{}-{}-{}-{}-within{}_CAVITY_N{}".format(
return "{}-{}-{}-{}-{}_CAVITY_N{}".format(
cavity.chain.pdb.code,
cavity.chain.pdb_chain_id,
cavity.chain.protein.uniprot_id,
cavity.partner.ligand.pdb_ligand_id,
cavity.partner.ligand.supplementary_id,
cavity.chain.pdb_chain_id,
cavity.cavity_number,
)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment