We need to raise a ValueError here if the basis method is invalid.  Currently it just passes through without setting the basis: it would lead to a runtime error.