From 7f0d11da8149f12e83a8da8ee28810a1172a0a3a Mon Sep 17 00:00:00 2001
From: Joana Pereira <joanapereira@4414.bioz.unibas.ch>
Date: Sat, 6 May 2023 13:51:59 +0200
Subject: [PATCH] implemented the detection of OMBBs that form complexes with
 OMBBs

---
 barrOs_library.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/barrOs_library.py b/barrOs_library.py
index 19e6ef0..830402b 100644
--- a/barrOs_library.py
+++ b/barrOs_library.py
@@ -2324,10 +2324,10 @@ def run_barros(arguments, offset = 1, step = 2, local_angle_threshold = 25, dist
 
                 for pdbID, chainID, pdb_file, protein_type, membrane_thickness in target_chains:
 
-                    # try:
-                    pdb_sequence, barrel_topology, chains, num_bb_regions, pdb_file = process_barrel(pdb_file, ID = pdbID, chainID = chainID, offset = offset, step = step, local_angle_threshold = local_angle_threshold, distance_threshold = distance_threshold, multimer_only=multimer_only)
-                    # except:
-                    num_bb_regions = 0
+                    try:
+                        pdb_sequence, barrel_topology, chains, num_bb_regions, pdb_file = process_barrel(pdb_file, ID = pdbID, chainID = chainID, offset = offset, step = step, local_angle_threshold = local_angle_threshold, distance_threshold = distance_threshold, multimer_only=multimer_only)
+                    except:
+                        num_bb_regions = 0
 
                     # check if it has a barrel. If so, continue
                     if num_bb_regions > 0 and len(pdb_sequence) < 10000:
-- 
GitLab