fix variable referenced before assignment when using no_filtering_by_… #239
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…endpoints, and unecessary if statement
When running
Trackingwith--no_filtering_by_endpointsthe variablesbundle_mask_ok,beginnings_mask_ok,endings_mask_okare referenced before assignment in the first if statement below the### Tracking ###comment.Fixed by moving all the code for
filtering_by_endpoints = Trueinto the original if statement, and removing theif filter_by_endpointsin the original if statement underneath### Tracking ###.Tested
Trackingboth with--no_filtering_by_endpointsand without flag, with flag now runs, without produces similar tracts as before.