def load_pdb_bonds

bend-prot@0.1.0.0 · pdb.bend:645

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

645# CONECT bonds from disk. A second full read; callers flatten once.
646def load_pdb_bonds(path: String) -> IO(List<&1, U32 & U32>):
647  do IO<List<&1, U32 & U32>>:
648    fh : File <- IO.try(File, File.open(path, "r"))
649    fr : File & Result<&1, &1, U32 & String, String> <- File.read(fh, 1048576)
650    finish_bonds(fr)

Uses (12)

Used by (0)

No other definition uses this definition.