4fac0fbf0aa537a5a063cae6dde4aa54b2d1ec38 wong Thu Nov 17 11:38:52 2011 -0800 for printing solo report, the gbdb path was set to release path diff --git python/lib/ucscgenomics/mkChangeNotes.py python/lib/ucscgenomics/mkChangeNotes.py index 50513d3..a0b2b23 100644 --- python/lib/ucscgenomics/mkChangeNotes.py +++ python/lib/ucscgenomics/mkChangeNotes.py @@ -433,31 +433,31 @@ else: return output output.append("\n") return output def printReportOne(self, args, c): (totalFiles, revokedFiles, newGbdbSet, revokedGbdbs, newTableSet, revokedTables, additionalList, atticSet, newSupplementalSet, tableSize) = (self.totalFiles, self.revokedFiles, self.newGbdbSet, self.revokedGbdbs, self.newTableSet, self.revokedTableSet, self.additionalList, self.atticSet, self.newSupplementalSet, self.tableSize) output = [] newTables = newTableSet - revokedTables newFiles = totalFiles - revokedFiles newGbdbs = newGbdbSet - revokedGbdbs output.extend(self.__qaHeader(output, newTables, newFiles, newGbdbSet, newSupplementalSet, additionalList, revokedTables, revokedFiles, revokedGbdbs, totalFiles, newGbdbSet, args, c)) self.newTables = set(newTables) self.newFiles = set(ucscUtils.printIter(newFiles, self.releasePath)) - self.newGbdbs = set(ucscUtils.printIter(newGbdbs, self.releasePath)) + self.newGbdbs = set(ucscUtils.printIter(newGbdbs, self.gbdbPath)) self.newSupplemental = set(ucscUtils.printIter(newSupplementalSet, self.releasePath)) self.newOthers = set(ucscUtils.printIter(additionalList, self.releasePath)) if not args['summary']: output.append("") output.extend(self.__printSectionOne(output, self.newTables, "New Tables")) output.extend(self.__printSectionOne(output, self.newFiles, "New Download Files")) output.extend(self.__printSectionOne(output, self.newGbdbs, "New Gbdb Files")) output.extend(self.__printSectionOne(output, self.newSupplemental, "New Supplemental Files")) output.extend(self.__printSectionOne(output, self.newOthers, "New Other Files")) output.extend(self.__printSectionOne(output, ucscUtils.printIter(revokedTables, 0), "Revoked Tables")) output.extend(self.__printSectionOne(output, ucscUtils.printIter(revokedFiles, self.releasePath), "Revoked Files")) output.extend(self.__printSectionOne(output, ucscUtils.printIter(revokedGbdbs, self.gbdbPath), "Revoked Gbdbs")) if not args['ignore']: