diff --git a/barrOs_library.py b/barrOs_library.py index 23db09731501d8d849cf70926e6760bbc0cf4349..af455b18d6619464ce2ae0d2dc6d2468cbdc36df 100644 --- a/barrOs_library.py +++ b/barrOs_library.py @@ -2318,7 +2318,13 @@ def run_barros(arguments, offset = 1, step = 2, local_angle_threshold = 25, dist else: target_chains = None else: - target_chains = [[pdbID.split('_')[0], chainID, pdb_file, protein_type, membrane_thickness]] + if 'AF-' not in pdbID: + target_chains = [[pdbID.split('_')[0], chainID, pdb_file, protein_type, membrane_thickness]] + else: + try: + target_chains = [[pdbID.split('/')[1], chainID, pdb_file, protein_type, membrane_thickness]] + except: + target_chains = [[pdbID, chainID, pdb_file, protein_type, membrane_thickness]] if pdb_file != 'not available' and protein_type != 'not available' and target_chains is not None: if input_mode != 'all':