Skip to content

numpy_helper_functions.py: Fix functions for finding constant regions in arrays#165

Merged
andthum merged 4 commits intomainfrom
fix/core/numpy-helper-functions/find-constant-regions
May 9, 2023
Merged

numpy_helper_functions.py: Fix functions for finding constant regions in arrays#165
andthum merged 4 commits intomainfrom
fix/core/numpy-helper-functions/find-constant-regions

Conversation

@andthum
Copy link
Owner

@andthum andthum commented May 9, 2023

numpy_helper_functions.py: Fix functions for finding constant regions in arrays

Type of change

  • Change of core package.
  • Change of scripts.
  • Bug fix.
  • New feature.
  • Code refactoring.
  • Dependency update.
  • Documentation update.
  • Maintenance.
  • Other: Description.
  • Non-breaking (backward-compatible) change.
  • Breaking (non-backward-compatible) change.

Proposed changes

  • Fix the functions get_const_seqs, find_const_seq_n and find_const_seq_long that were giving wrong results for completely constant arrays.

PR checklist

  • I followed the guidelines in the Developer's guide.
  • New/changed code is properly tested.
  • New/changed code is properly documented.
  • The CI workflow is passing.

@github-actions github-actions bot added bugfix Pull requests that fix a bug patch Change that results in a new patch version labels May 9, 2023
@andthum andthum merged commit b01a24b into main May 9, 2023
@andthum andthum deleted the fix/core/numpy-helper-functions/find-constant-regions branch May 9, 2023 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull requests that fix a bug patch Change that results in a new patch version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant