Skip neighbours if not in region when building excl lists
Description
Skip neighbour fragments if they are not in the current region. This is necessary because we don't know if the neighbour region uses MFCC, i.e. there are no capped fragments, and also makes more sense since the MFCC procedure is not applied across regions. With this change only the atoms from the neighbour region that are used to create a cap are excluded.
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
-
My code follows the code style of this project. -
I have added and/or updated tests to cover my changes. -
All new and existing tests passed.