Returns the full path to the image given the basic image name.
(img_basename)
| 287 | return _INTERACT |
| 288 | |
| 289 | def getAbsImagePath(img_basename): |
| 290 | """Returns the full path to the image given the basic image |
| 291 | name.""" |
| 292 | for path in VTK_BASELINE_PATHS: |
| 293 | if os.path.basename(path) == img_basename: |
| 294 | return path |
| 295 | return os.path.join(VTK_BASELINE_ROOT, img_basename) |
| 296 | |
| 297 | def _getTempImagePath(img_fname): |
| 298 | x = os.path.join(VTK_TEMP_DIR, os.path.split(img_fname)[1]) |