Closed fpagnoux closed 7 years ago
I don't know much about decompositions, and I'd prefer not to dig too much into it 😄 .
Can someone who use it tell me if this condition seem appropriate ? A decomposition can be a directory or a file, right ?
It is ok for me. I started some work here which I should finish soon if @cbenz gives me a hand ;-)
This PR is now invalid since https://github.com/openfisca/openfisca-core/pull/450
So should we close this PR @cbenz ?
No, I must update it to follow openfisca/openfisca-core#450
Connected to #76.
Due to https://github.com/openfisca/openfisca-core/pull/397, any
TaxBenefitSystem
has aDEFAULT_DECOMP_FILE
attribute.We cannot use it to figure out whether a TBS has a real decomposition. We can instead check whether
DEFAULT_DECOMP_FILE
is not None, or ifDECOMP_DIR
exists.