def writeAnnotatedFiles(self, files):
        if os.path.exists(self._annotatePath):
            util.rmtree(self._annotatePath)
        annotatePath = self._annotatePath
        coverage = self.getCoverage()
        coverage.annotate(files, self._annotatePath, baseDirs = self._baseDirs)
        if annotatePath.startswith(os.getcwd() + '/'):
            annotatePath = '.' + annotatePath[len(os.getcwd()):]
        print
        print '*** %s file(s) annotated in %s' % (len(files), annotatePath)
dataset/ETHPy150Open sassoftware/conary/conary_test/coveragewrapper.py/CoverageWrapper.writeAnnotatedFiles/original