From 492c5116bd5fc48794ed6c879dc5e163a88a0d09 Mon Sep 17 00:00:00 2001 From: Joana Pereira <joanapereira@4414.bioz.unibas.ch> Date: Sat, 6 May 2023 13:51:12 +0200 Subject: [PATCH] implemented the detection of OMBBs that form complexes with OMBBs --- barrOs_library.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/barrOs_library.py b/barrOs_library.py index 4b04741..19e6ef0 100644 --- a/barrOs_library.py +++ b/barrOs_library.py @@ -1141,7 +1141,10 @@ def get_barrel_topology(pdb_file, ID, chainID, simplify = False, mode = 'combine regionsBB = process_regions_in_cycle(regions_in_cycle, regular_regions) membtopo = write_topo_from_regular_regions(regionsBB, strlength = len(CA_coordinates)) regular_regions = extract_regular_regions(membtopo, pdb_file, marker = 'M', add_to_pdb = True, chainID = chainID) - draw_graph(graph, labels = list(range(1,len(regular_regions)+1)), fig_label='{}'.format(pdb_file[:-4])) + try: + draw_graph(graph, labels = list(range(1,len(regular_regions)+1)), fig_label='{}'.format(pdb_file[:-4])) + except: + print('Not possible to draw. Maybe due to a networkx issue. Will skip it') else: membtopo = '' -- GitLab