def test_decomp_not_computed_ranks(): with pytest.raises(ValueError): ajive = AJIVE(init_signal_ranks=[2, 2]) ajive.get_ranks()
def test_get_ranks(data): with pytest.raises(ValueError): ajive = AJIVE(init_signal_ranks=[2, 2]) ajive.get_ranks()
def test_decomp_not_computed_ranks(): with pytest.raises(ValueError): ajive = AJIVE(init_signal_ranks=[2, 2]) ajive.get_ranks()
def test_get_ranks(data): with pytest.raises(ValueError): ajive = AJIVE(init_signal_ranks=[2, 2]) ajive.get_ranks()