Quantipy / quantipy

Python for people data
MIT License
66 stars 14 forks source link

Ascribe conversion fails #1336

Closed AndersFreund closed 3 years ago

AndersFreund commented 3 years ago

Seems the callers of condense_dichotomous_set in quantipy/core/tools/dp/prep.py expect it to return two values, but in some cases condense_dichotomous_set will only return 1.

https://github.com/Quantipy/quantipy/blob/08aa7089b3a53835a52de9aa62adec5c4db634ee/quantipy/core/tools/dp/prep.py#L268

AndersFreund commented 3 years ago

Fixed with https://github.com/Quantipy/quantipy/commit/0e608926a751b1d3ed28ca10041e941351c6ac4e