def __carve_vertical(self, start_point, end_point):
        """
        Special case, carving is done in straigth vertical line

        :param start_point: starting connection
        :type start_point: Connection
        :param end_point: ending connection
        :type end_point: Connection
        """
        if end_point.location[1] > start_point.location[1]:
            start_y = end_point.location[1]
            end_y = start_point.location[1]
        else:
            start_y = start_point.location[1]
            end_y = end_point.location[1]

        x_loc = start_point.location[0]
        section = start_point.section

        for y_loc in range(start_y, end_y):
            section_wall(section, (x_loc, y_loc), self.wall_tile, 'corridor')
            section_floor(section, (x_loc, y_loc), self.floor_tile, None)

        section_wall(section, end_point.location, self.wall_tile, 'corridor')
        section_wall(section, start_point.location, self.wall_tile, 'corridor')
        section_floor(section, end_point.location, self.floor_tile, None)
        section_floor(section, start_point.location, self.floor_tile, None)
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/generators/level/room/corridor.py/CorridorGenerator.__carve_vertical/swapped operands of `>`