def seed_merge(self): '''Add all already generated tiles to the closed list''' icm = ImageCoordinateMap.from_dir_tagged_file_names(self.out_dir) already_done = 0 for (col, row) in icm.gen_set(): self.mark_done(row, col, False) already_done += 1 print 'Map seeded with %d already done tiles' % already_done