Closed slamballais closed 5 years ago
This is a complex issue that requires a lot of adjustments:
qdecr
and qdecr_fastlm
qdecr_model
to take a specific function as input (argument: prep_fun
)qdecr_model
to check prep_fun
qdecr_model
to call prep_fun
qdecr_model_*
)I am working on a branch called modular-check-model
.
This was solved in #4 (reverted in #5 ) and #6
Ideally, QDECR would be perfectly modular.
The
qdecr_model
function has a hard-coded if-else structure with a fixed number of processes that can be chosen from.This should be fixed by removing the if-else structure, and rather point directly to a function which will do the preparation step. Users should be able to input the specific prep function into function such as
qdecr
andqdecr_fastlm
.