Core: reconsider peak rejection flags (selected, masked enabled)
With the introduction of RejectionFlag
, the Peak3D
attributes _selected
, _masked
and function enabled()
are redundant since the rejection flag contains all of that information and more. Moreover, this duplication of functionality is causing errors in the GUI vis a vis marking peaks as disabled, since there are sometimes conflicting data.
The attributes _selected
and _masked
should be removed, and enabled should check the Peak3D::_rejection_flag
to determine whether the peak is enabled or not.