From a29df3d949b825e3c11780eb094126cc7a658e88 Mon Sep 17 00:00:00 2001 From: Joana Pereira <joanapereira@4414.bioz.unibas.ch> Date: Sat, 22 Jul 2023 09:12:01 +0200 Subject: [PATCH] fixed issue with plotting when the parameter was not possible to compute --- barrOs_library.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/barrOs_library.py b/barrOs_library.py index 05dde8e..3234bf0 100644 --- a/barrOs_library.py +++ b/barrOs_library.py @@ -2284,8 +2284,8 @@ def run_barros(arguments, offset = 1, step = 2, local_angle_threshold = 25, dist pdb_file = pdbID chains_inpdb = get_chains_in_pdb(pdb_file, source_pdb=False)[0] - if 'AF-' in pdbID: - pdbID, chainID = pdb_file, chains_inpdb[0] + if 'model_' in pdbID: + pdbID, chainID = pdbID, chains_inpdb[0] else: try: pdbID, chainID = pdb_file[:-4].split('/')[-1].split('_') -- GitLab