Source code for dragonfly_doe2.doe.title

from dataclasses import dataclass


[docs]@dataclass class Title: title: str
[docs] def to_inp(self) -> str: """Return run period as an inp string.""" # standard holidays should be exposed. return 'TITLE\n' \ f' LINE-1 = *{self.title}*\n' \ ' ..'
def __repr__(self) -> str: return self.to_inp()