Commit 03826dce authored by Carlos GO's avatar Carlos GO
Browse files


parent 9f4c3e85
......@@ -34,7 +34,7 @@ def parse_fr3d(fr3d_path, pdb_path):
label = label.upper().strip()[1:-1]
print(label, VALID_EDGES, label in VALID_EDGES)
if label in VALID_EDGES:
label = label[0] + sorted(label[1:])
label = label[0] + "".join(sorted(label[1:]))
G.add_edge((chain_1, pos_1), (chain_2, pos_2), label=label)
nucs[(chain_1, pos_1)] = nuc_1
nucs[(chain_2, pos_2)] = nuc_2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment