From 10b68388172c567778c057a310c2d338cd0f1618 Mon Sep 17 00:00:00 2001 From: rostro36 Date: Fri, 1 Mar 2024 10:08:04 +0100 Subject: [PATCH] Fix always is_custom_template. --- run_pretrained_openfold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_pretrained_openfold.py b/run_pretrained_openfold.py index 2131c4e0..6bd29e26 100644 --- a/run_pretrained_openfold.py +++ b/run_pretrained_openfold.py @@ -186,7 +186,7 @@ def main(args): ) is_multimer = "multimer" in args.config_preset - is_custom_template = "use_custom_template" in args + is_custom_template = "use_custom_template" in args and args.use_custom_template if is_custom_template: template_featurizer = templates.CustomHitFeaturizer( mmcif_dir=args.template_mmcif_dir,