@staticmethod
def make_rating_manually(block, q_rate):
    """
        Returns q_rate if the block is not rated manually.

        Parameters
        ----------
        q_rate : float
            The rate to be returned
        block
            Block for which the rate is returned

        Returns
        -------
        rate
            Return q_rate if the block is not manually rated.
            If it is rated manually return 'Manually rated'

        """
    rate = None
    if block.is_manually_rated:
        rate = 'Manually Rated'
    else:
        rate = q_rate
    return rate
