Skip to content

Conversation

@garrettwrong
Copy link
Collaborator

Attempting to fix the mapping of unique filters through IndexSource.

@garrettwrong garrettwrong added bug Something isn't working cleanup labels Feb 14, 2025
@garrettwrong garrettwrong self-assigned this Feb 14, 2025
@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.44%. Comparing base (5613fb1) to head (a89939c).
Report is 10 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1230   +/-   ##
========================================
  Coverage    90.43%   90.44%           
========================================
  Files          132      132           
  Lines        13940    13947    +7     
========================================
+ Hits         12607    12614    +7     
  Misses        1333     1333           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@garrettwrong garrettwrong marked this pull request as ready for review February 14, 2025 22:18
@garrettwrong garrettwrong requested a review from janden as a code owner February 14, 2025 22:18
@garrettwrong
Copy link
Collaborator Author

Just kicking off unit tests not ready for review.

@garrettwrong garrettwrong marked this pull request as draft February 18, 2025 13:54
_unq, _inv = np.unique(_filter_indices, return_inverse=True)
# Repack unique_filters
self.filter_indices = _inv
self.unique_filters = [copy.copy(src.unique_filters[i]) for i in _unq]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noting that see don't necessarily need to be copied, but it should be less risky in case they are mutated.

np.testing.assert_allclose(_ppB.images[:], _pp.images[1::2], atol=1e-5)
# Confirm A and B are still equivalent
np.testing.assert_allclose(_srcB.images[:], _srcA.images[:])
np.testing.assert_allclose(_ppB.images[:], _ppA.images[:])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #1236 for additional tests that might fit here.

@garrettwrong garrettwrong marked this pull request as ready for review February 20, 2025 20:18
@garrettwrong
Copy link
Collaborator Author

garrettwrong commented Feb 20, 2025

There seems to be some trouble with Github today. My jobs are suddenly returning

The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings.

but I've checked and we haven't hit any quota. Everything seems to be in order that I can see, except maybe an old email address in there. If it doesn't resolve itself I'll reach out to their support.

The GH error appears to have resolved itself 🎉 .

@garrettwrong garrettwrong requested a review from j-c-c February 21, 2025 12:58
@garrettwrong
Copy link
Collaborator Author

Just got word my reviewer is still sick, so I'm going to merge this. Besides the tests added in the PR, I've successfully run the halfset recon that spawned this issue.

@garrettwrong garrettwrong merged commit 0cda2ba into develop Feb 21, 2025
46 checks passed
@garrettwrong garrettwrong deleted the chk_preproc branch February 21, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants