far.py: fix issue in calling RankingStat with using new kwarggen function
This fixes two issues introduced by commit cf94c2d1:
- Changed
kwarggen
to be a generator rather than return a dictionary. This appears to be the intended behavior, rather than what was implemented. - Changed the call to
kwarggen
inRankingStat.__call__()
to pass inmin_instruments
as well. This caused an issue where the number of input arguments tokwarggen
didn't match.
@chad-hanna, @kipp.cannon, could you check this and make sure it's sensible?
Edited by Patrick Godwin