# FIXME remove once MostDistantCandidateSpace exists...
method = candidate_space.method
if (
candidate_space.governing_method == Method.FAMOS
and candidate_space.predecessor_model.predecessor_model_hash is None
):
however, the predecessor_model can be either a Model, or str. In the case of str this code will fail with an AttributeError.
in line 272 in ui.py we have
however, the
predecessor_model
can be either a Model, or str. In the case of str this code will fail with an AttributeError.