Source code for stko._internal.calculators.results.energy_results
from collections import abc
[docs]
class EnergyResults:
"""Results class containing molecule energy."""
def __init__(self, generator: abc.Iterable, unit_string: str) -> None:
self._value = next(generator) # type: ignore[call-overload]
self._unit_string = unit_string