@writedir.setter
def writedir(self, writedir: Union[(str, Path)]):
    _type_check(writedir, 'writedir', (str, Path))
    self._writedir = Path(writedir)
@writedir.setter
def writedir(self, writedir: Union[(str, Path)]):
    _type_check(writedir, 'writedir', (str, Path))
    self._writedir = Path(writedir)