in submitit/core/core.py [0:0]
def stderr(self) -> tp.Optional[str]:
"""Returns a string with the content of the error log file
or None if the file does not exist yet
"""
if self._sub_jobs:
stderr_ = [sub_job.stderr() for sub_job in self._sub_jobs]
stderr_not_none: tp.List[str] = [s for s in stderr_ if s is not None]
if not stderr_not_none:
return None
return "\n".join(stderr_not_none)
return self._get_logs_string("stderr")