Skip to content

Commit 08fe477

Browse files
committed
updated
1 parent 365db90 commit 08fe477

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

run_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,10 +1510,8 @@ def collect_generated_binders(args, df, iter, debugging=True):
15101510
if len(model_folders) > 1:
15111511
model_folder = next(
15121512
i for i in model_folders
1513-
if "model_" in i and "peptide_design" in os.listdir(os.path.join(idp, i))
1513+
if os.path.isdir(os.path.join(idp, i)) and "peptide_design" in os.listdir(os.path.join(idp, i))
15141514
)
1515-
else:
1516-
model_folder = model_folders[0]
15171515

15181516
# Request 1: alternative selection straight from the ProteinMPNN .fa
15191517
selection_method = getattr(args, 'selection_method', 'netmhcpan')

0 commit comments

Comments
 (0)