Commit a3b695d0 authored by Nurul Nadzirin's avatar Nurul Nadzirin

add trailing underscore to sym_op

parent 5c5f770c
......@@ -1182,7 +1182,7 @@ def get_molecule_contacts_api(pdbid, chain_id, pdb_seq_id):
pdbid = pdbid.strip("'")
pdb_seq_id = int(pdb_seq_id.strip("'"))
chain_id = chain_id.strip("'")
sym_op = chain_id.split('-')[1] if '-' in chain_id else '1'
sym_op = "_" + chain_id.split('-')[1] if '-' in chain_id else '_1'
chain_id = chain_id.split('-')[0] if '-' in chain_id else chain_id
api_result, response_status = get_ligand_interactions(pdbid, chain_id, pdb_seq_id, sym_op)
......
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