Closed jstammers closed 1 month ago
Fixed by #65 , thank you @jstammers !
CC @cpcloud, here is a little papercut in ibis where ibis.range(<float>)
gives the cryptic TypeError: range() missing 2 required positional arguments: 'stop' and 'step'"
error. Probably not worth changing anything, but if it's an easy fix I can file an issue with ibis.
I've been encountering errors when trying to sample pairs of blocked records if the number of pairs is not a 'nice' integer. This seems to be related to the default
max_pairs
valueWhich gives the following error
when
max_pairs
This could be an upstream issue, as I'm not sure whystop
andstep
would be required. I don't see an error if the default value of None is usedIf I modify https://github.com/NickCrews/mismo/blob/a62f4fa5ccb91b2f51f035ddfa896a2cd5089b77/mismo/block/_util.py#L90 to explicitly define the range
or cast
n_possible_pairs
as anint
, that seems to resolve this issue