def finish_bonds

bend-prot@0.1.0.0 · pdb.bend:637

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

637def finish_bonds(fr: File & Result<&1, &1, U32 & String, String>) -> IO(List<&1, U32 & U32>):
638  match fr:
639    case (fh2, res):
640      do IO<List<&1, U32 & U32>>:
641        text : String <- IO.pass(String, res)
642        File.close(fh2)
643        return conect_pairs(conect_lines(tlines(text)))

Uses (16)

Used by (1)