def group_residues

bend-prot@0.1.0.0 · pdb.bend:389

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

389def group_residues(items: List<&1, U32 & Nat & P.Atom>) -> List<&2, U32> & List<&2, P.Residue>:
390  match items:
391    case Nil{}:
392      (Nil{}, Nil{})
393    case (c, s, a) <> t:
394      group_res_go(t, c, s, [a], Nil{}, Nil{})

Uses (8)

Used by (1)