From ddbb905c066a03cb9a9c096cd232df98f4e456fd Mon Sep 17 00:00:00 2001 From: Stefan Bienert <stefan.bienert@unibas.ch> Date: Thu, 19 Oct 2023 13:25:29 +0200 Subject: [PATCH] Fix for no-selection --- convert_to_modelcif.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/convert_to_modelcif.py b/convert_to_modelcif.py index 00fbad7..d1c18ea 100755 --- a/convert_to_modelcif.py +++ b/convert_to_modelcif.py @@ -29,9 +29,8 @@ import modelcif.protocol from alphapulldown.utils import make_dir_monomer_dictionary -# ToDo: Get options properly, best get the same names as used in existing -# scripts, e.g. could '--monomer_objects_dir' be used as feature -# directory/ directory with the feature JSON files? +# ToDo: DISCUSS Get options properly, best get the same names as used in +# existing scripts # ToDo: Monomers work separately - features may come from different set of # software, databases... so target sequences may be connected to different # versions of the same sequence database, may use different versions of @@ -924,7 +923,9 @@ def _get_model_list(ap_dir: str, model_selected: str) -> Tuple[str, str, list]: models.append( ( os.path.join(mdl_path, mdl), - score_files[rank][0].score_files[rank][1], + score_files[rank][0], + score_files[rank][1], # model ID + score_files[rank][2], # model rank ) ) -- GitLab