original_docstring: 
      return path to image file if it's in dataset
      
docstring: return path to image file if it's in dataset
docstring_tokens: return path to image file if it ' s in dataset
code: def imageSanitizedPath(fileName):
      """
      return path to image file if it's in dataset
      """
      global imageFiles
      global imageSet
      unquotedName = sanitizeFileName(fileName)
      if unquotedName in imageFiles:
          imageSet.add(unquotedName)
          if unquotedName[-4:] == ".svg":
              unquotedName = unquotedName[:-4] + ".png"
          return 'images/' + unquotedName
code_tokens: def imageSanitizedPath ( fileName ) : global imageFiles global imageSet unquotedName = sanitizeFileName ( fileName ) if unquotedName in imageFiles : imageSet . add ( unquotedName ) if unquotedName [ - 4 : ] == ".svg" : unquotedName = unquotedName [ : - 4 ] + ".png" return 'images/' + unquotedName
short_docstring: return path to image file if it's in dataset
short_docstring_tokens: return path to image file if it ' s in dataset
comment: """
      return path to image file if it's in dataset
      """