def get_image_path(self):
for res in self.dsDoc['<STR_LIT>']:<EOL><INDENT>resPath = res['<STR_LIT>']<EOL>resType = res['<STR_LIT>']<EOL>isCollection = res['<STR_LIT>']<EOL>if resType == '<STR_LIT:image>' and isCollection:<EOL><INDENT>return os.path.join(self.dsHome, resPath)<EOL><DEDENT><DEDENT>raise RuntimeError('<STR_LIT>')<EOL>
Returns the path of the directory containing images if they exist in this dataset.