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

Improve reading/writing of fits file. #361

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Improve reading/writing of fits file. #361

merged 4 commits into from
Oct 1, 2024

Conversation

delucchi-cmu
Copy link
Contributor

@delucchi-cmu delucchi-cmu commented Sep 30, 2024

Change Description

Closes #340. Related to #355.

Re-imports unit test data. Discovered that empty list values could sneak by the exclude_none on pydantic's model dump, and added some further hints to avoid this.

Copy link

codecov bot commented Sep 30, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (hats@f177019). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/hats/io/file_io/file_io.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             hats     #361   +/-   ##
=======================================
  Coverage        ?   92.80%           
=======================================
  Files           ?       48           
  Lines           ?     1946           
  Branches        ?        0           
=======================================
  Hits            ?     1806           
  Misses          ?      140           
  Partials        ?        0           

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

tests/data/small_sky_order1_id_index/properties Outdated Show resolved Hide resolved
src/hats/catalog/dataset/table_properties.py Outdated Show resolved Hide resolved
src/hats/io/file_io/file_io.py Show resolved Hide resolved
@delucchi-cmu delucchi-cmu merged commit d87b494 into hats Oct 1, 2024
10 checks passed
@delucchi-cmu delucchi-cmu deleted the issue/355/fits branch October 1, 2024 14:14
delucchi-cmu added a commit that referenced this pull request Oct 16, 2024
* Initial renaming (#352)

* Initial renaming

* A few more spots.

* Docs issues found in code review.

* Few more issues of bad find/replace...

* Update unit test data with changes to hipscat-import (#354)

* Update unit test data with changes to hipscat-import

* Add new pylint config.

* Create HIPS-style properties file (#358)

* Update unit test data with changes to hipscat-import

* Add new pylint config.

* catalog_info.json -> properties.

* Support hips-style space-delimited lists

* Good type hint

* Reduce duplication.

* Changes from code review

* Add default column to properties (#359)

* Add default column to properties

* Add fractional coverage on partition info

* Add convenience import.

* Clean it up

* Comment about square degrees.

* Add copy_and_update

* replace hipscat index

* update docs

* fix typo

* isort

* rename test hipscat id

* Improve reading/writing of fits file. (#361)

* Improve reading/writing of fits file.

* Pylint findings

* Set total_rows to non-none value. (#362)

* Code review comments.

* change healpix to index type

* update return type

* Clean up straggling instances of hips/hipscat (#369)

* Straggling instances of hips/hipscat

* A little more cleanup

* Insert dataset dir and use general ra/dec column names. (#377)

* Insert dataset dir and use general ra/dec column names.

* Update documentated directory structure.

* Code review comments.

---------

Co-authored-by: Sean McGuire <seanmcgu@andrew.cmu.edu>
Co-authored-by: Sean McGuire <123987820+smcguire-cmu@users.noreply.github.com>
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