The if current_num_chans == 0: branches in RMF.apply_rmf can never be reached because _flatten_arrays already removes empty groups with if t:. Therefore the code can be simplified.
Proposed changes are pushed to my forked repo and PR #28 if you are interested.
The
if current_num_chans == 0:branches inRMF.apply_rmfcan never be reached because_flatten_arraysalready removes empty groups withif t:. Therefore the code can be simplified.Proposed changes are pushed to my forked repo and PR #28 if you are interested.