Fixed this problem -- the PeakSampler.get_parent_intensity_proportion was returning np arrays.
Changed this to return a single value if only a single value is asked for.
Added a check in the MassSpec to flatten there.
Will require a new .p to be made for the PeakSampler.
If in the mood for updating .p files, can also update BEER_CHEMS and remove lines 37-39 in conftest.py
It was only showing in that test because, as MS1 frag params were being set, we were processing a frag scan.
Fixed this problem -- the PeakSampler.get_parent_intensity_proportion was returning np arrays. Changed this to return a single value if only a single value is asked for. Added a check in the MassSpec to flatten there. Will require a new .p to be made for the PeakSampler. If in the mood for updating .p files, can also update BEER_CHEMS and remove lines 37-39 in conftest.py
It was only showing in that test because, as MS1 frag params were being set, we were processing a frag scan.
Fixes #169