Skip to content

Handle failure when too much metadata is stored in FITS or HDF#136

Open
joezuntz wants to merge 4 commits into
masterfrom
too-much-metadata
Open

Handle failure when too much metadata is stored in FITS or HDF#136
joezuntz wants to merge 4 commits into
masterfrom
too-much-metadata

Conversation

@joezuntz
Copy link
Copy Markdown
Collaborator

FITS files do not allow more than 1000 columns, and HDF files don't have a hard limit but fail when the header size gets too high, which can happen a little above 1000 for reasonable size names. This splits long metadata tables (which have one column per metadata item to allow typing to work correctly) into multiples.

It is backwards compatible, and I've explicitly added data files from the previous version so we can keep making sure of this.

@github-actions
Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1682 1499 89% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
sacc/_init_.py 100% 🟢
sacc/io.py 93% 🟢
sacc/sacc.py 82% 🟢
TOTAL 91% 🟢

updated for commit: f7644c5 by action🐍

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 24, 2026

Codecov Report

❌ Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.2%. Comparing base (b4ba76a) to head (f7644c5).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
sacc/sacc.py 50.0% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master    #136     +/-   ##
========================================
+ Coverage    83.8%   84.2%   +0.4%     
========================================
  Files          17      17             
  Lines        1667    1682     +15     
  Branches      294     297      +3     
========================================
+ Hits         1397    1417     +20     
+ Misses        188     183      -5     
  Partials       82      82             
Files with missing lines Coverage Δ
sacc/__init__.py 100.0% <100.0%> (ø)
sacc/io.py 84.8% <100.0%> (+1.3%) ⬆️
sacc/sacc.py 74.7% <50.0%> (+0.3%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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