def finish_text
import bend-prot@0.1.0.0/pdb.bend as Pdbimport Base
652def finish_text(fr: File & Result<&1, &1, U32 & String, String>) -> IO(String):
653 match fr:
654 case (fh2, res):
655 do IO<String>:
656 text : String <- IO.pass(String, res)
657 File.close(fh2)
658 return text