def sasa_total

bend-prot@0.1.0.0 · sasa.bend:78

import bend-prot@0.1.0.0/sasa.bend as Sasa
import Base

78# Total area: sum of per-atom areas.
79def sasa_total(areas: List<&2, F32>) -> F32:
80  match areas:
81    case Nil{}:
82      0.0
83    case h <> t:
84      (h + sasa_total(t) : F32)

Uses (3)

Used by (1)