def conect_p4

bend-prot@0.1.0.0 · pdb.bend:292

import bend-prot@0.1.0.0/pdb.bend as Pdb
import Base

292# One CONECT line -> [(s0, si)] bonds for each partner present.
293def conect_p4(s0: U32, m4: Maybe<&2, U32>) -> List<&1, U32 & U32>:
294  match m4:
295    case None{}:
296      Nil{}
297    case Some{s4}:
298      [(s0, s4)]

Uses (5)

Used by (1)