Skip to content

Commit 13565fc

Browse files
committed
Remove parent dir name
1 parent a942e75 commit 13565fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datasets/pdbbind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def get_complex(self, par):
482482
try:
483483
if ligand is not None: # This is the case in inference processing
484484
rec_model = parse_pdb_from_path(name)
485-
name = f'{os.path.dirname(name)}-{os.path.basename(name)}___{os.path.dirname(ligand_description[0])}-{os.path.basename(ligand_description[0])}'
485+
name = f'{os.path.basename(name)}___{os.path.basename(ligand_description[0])}'
486486
ligs, ligs_center, ligs_predefined_flexible_sidechains = [ligand[0]], [ligand[1]], [ligand[2]]
487487
else:
488488
# rec_model_match is typically the HOLO / PDB structure

0 commit comments

Comments
 (0)