def drop_systematics(blocks, systematics):
    """Drop a systematic from a set of blocks.

    Parameters
    ----------
    blocks : list(str)
        All TRExFitter blocks.
    systematics : list(str)
        Name of the systematic to drop.

    Returns
    -------
    list(str)
        Blocks without desired systematic.
    """
    result = blocks[:]
    to_drop = []
    for s in systematics:
        itr = filter(lambda x: x.startswith(f'Systematic: "{s}"'), blocks)
        for i in itr:
            to_drop.append(i)
    for drop in to_drop:
        result.remove(drop)
    return result