Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reading/writing of sparse histogram #380

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

camposandro
Copy link
Contributor

In #376 I introduced some incorrect changes to the I/O of SparseHistogram dense arrays and it caused unit tests to fail in hipscat-import. This fixes it.

  • My PR includes a link to the issue that I am addressing

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

@camposandro camposandro self-assigned this Oct 16, 2024
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.09%. Comparing base (9c24f97) to head (01fa101).
Report is 1 commits behind head on development.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #380   +/-   ##
============================================
  Coverage        94.09%   94.09%           
============================================
  Files               59       59           
  Lines             2166     2167    +1     
============================================
+ Hits              2038     2039    +1     
  Misses             128      128           

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

@camposandro camposandro merged commit c1acd21 into development Oct 16, 2024
9 of 10 checks passed
@camposandro camposandro deleted the sandro/fix-sparse-hist-to-dense branch October 16, 2024 15:00
camposandro added a commit that referenced this pull request Oct 22, 2024
* Bump pre-commit-ci/lite-action from 1.0.2 to 1.0.3

Bumps [pre-commit-ci/lite-action](https://github.com/pre-commit-ci/lite-action) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/pre-commit-ci/lite-action/releases)
- [Commits](pre-commit-ci/lite-action@v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: pre-commit-ci/lite-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update number of positional args

* update healpixdataset catalog info type

* run ci

* Override catalog's `__len__` method (#371)

* Wrap catalog's length method

* Clarify error message

* add alignment parameter to moc

* Add sparse histogram implementation (#376)

* Add sparse histogram implementation

* Add scipy as a dependency

* Improve test coverage

* Fix read/write of dense histogram (#380)

* Update missing hipscat references

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sean McGuire <[email protected]>
Co-authored-by: Sean McGuire <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants