return html link to file
(self)
| 394 | self.result_html_suffix]) |
| 395 | |
| 396 | def _repr_html_(self): |
| 397 | """return html link to file |
| 398 | """ |
| 399 | if not exists(self.path): |
| 400 | return ("Path (<tt>%s</tt>) doesn't exist. " |
| 401 | "It may still be in the process of " |
| 402 | "being generated, or you may have the " |
| 403 | "incorrect path." % self.path) |
| 404 | |
| 405 | return self._format_path() |
| 406 | |
| 407 | def __repr__(self): |
| 408 | """return absolute path to file |