From 5e8082c4eea880da3e1bb6f8fb8b74442f52cd4f Mon Sep 17 00:00:00 2001 From: Joana Pereira <joanapereira@4414.bioz.unibas.ch> Date: Sat, 22 Jul 2023 09:14:17 +0200 Subject: [PATCH] fixed issue with plotting when the parameter was not possible to compute --- barrOs_library.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/barrOs_library.py b/barrOs_library.py index ac4393e..35c4ab9 100644 --- a/barrOs_library.py +++ b/barrOs_library.py @@ -2284,9 +2284,9 @@ 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] - print(pdb_file) - print(pdbID) - + print(pdb_file, 'model_' in pdbID) + print(pdbID, 'model_' in pdbID) + if 'model_' in pdbID: pdbID, chainID = pdbID, chains_inpdb[0] else: -- GitLab