Project: datamanagement
Issue DM-4160: Unused variables in meas.algorithms.utils
Pyflakes 1.0.0 reports: {code} $ pyflakes-2.7 utils.py utils.py:232: local variable 'chi2' is assigned to but never used utils.py:481: local variable 'numCandidates' is assigned to but never used utils.py:482: local variable 'numBasisFuncs' is assigned to but never used utils.py:487: local variable 'ampGood' is assigned to but never used utils.py:492: local variable 'ampBad' is assigned to but never used {code} In the best case, those variables are simply unnecessary, and they should be removed to simplify the code and avoid wasting time. Alternatively, it's possible that they ought to be used elsewhere in the calculation but have been omitted accidentally. Please establish this for each one, then either remove them or fix the rest of the code.
Story points: 1