diff --git a/barrOs_library.py b/barrOs_library.py index 19e6ef06ce4cb3bf851df64be9179289a8696e0e..830402bf1219a13102338379edb57074b19c3239 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: