class_docstr: A model for a single image comparison test.
docstr: Find the source tree directory corresponding to the given
  result_images subdirectory.
docstr_tok: ["Find","the","source","tree","directory","corresponding","to","the","given","result_images","subdirectory","."]
code: def get_dest_dir(self, reldir):
      """
      Find the source tree directory corresponding to the given
      result_images subdirectory.
      """
      for baseline_dir in BASELINE_IMAGES:
          path = self.source / baseline_dir / reldir
          if path.is_dir():
              return path
      raise ValueError(f"Can't find baseline dir for {reldir}")
  
imports: import os
  from pathlib import Path
  import shutil
  import sys
  from matplotlib.backends.qt_compat import QtCore, QtGui, QtWidgets
  from matplotlib.backends.qt_compat import _exec
label_desc: Use image node_id 2 for calling the Entry obj's underlying member method code with example usage: obj.get_dest_dir(reldir) and returns: path