@@ -914,10 +914,8 @@ def _mp_graph_constructor(
914914 :return: Protein structure graph or ``None`` if an error is encountered.
915915 :rtype: Union[nx.Graph, None]
916916 """
917- log .info (
918- f"Constructing graph for: { args [0 ]} . Chain selection: { args [1 ]} . \
919- Model index: { args [2 ]} "
920- )
917+ log .info (f"Constructing graph for: { args [0 ]} . Chain selection: { args [1 ]} . \
918+ Model index: { args [2 ]} " )
921919 func = partial (construct_graph , config = config )
922920 try :
923921 if source == "pdb_code" :
@@ -936,10 +934,8 @@ def _mp_graph_constructor(
936934 )
937935
938936 except Exception as ex :
939- log .info (
940- f"Graph construction error (PDB={ args [0 ]} )! \
941- { traceback .format_exc ()} "
942- )
937+ log .info (f"Graph construction error (PDB={ args [0 ]} )! \
938+ { traceback .format_exc ()} " )
943939 log .info (ex )
944940 return None
945941
@@ -1232,10 +1228,8 @@ def compute_secondary_structure_graph(
12321228 ss_list [u ], ss_list [v ], kind = d ["kind" ], source = f"{ u } _{ v } "
12331229 )
12341230 except KeyError as e :
1235- log .debug (
1236- f"Edge { u } -{ v } not added to secondary structure graph. \
1237- Reason: { e } not in graph"
1238- )
1231+ log .debug (f"Edge { u } -{ v } not added to secondary structure graph. \
1232+ Reason: { e } not in graph" )
12391233
12401234 # Remove self-loops if necessary.
12411235 # Checks for equality between nodes in a given edge.
0 commit comments