Skip to content

Improve DAS conversions, coverage, and release workflow#9

Merged
d-chambers merged 6 commits into
mainfrom
better_testing_python_version
May 7, 2026
Merged

Improve DAS conversions, coverage, and release workflow#9
d-chambers merged 6 commits into
mainfrom
better_testing_python_version

Conversation

@d-chambers

Copy link
Copy Markdown
Contributor

Summary

This PR improves DASCore, DASPy, and XDAS interoperability, expands conversion test coverage across DASCore examples, and updates packaging/release automation for Python 3.12+.

What Changed

  • Fixed BaseDAS -> daspy.Section conversion to preserve DASPy channel/time data order.
  • Added generic coordinate get_start() and get_step() accessors for conversion code.
  • Added DASPy support for evenly sampled ArrayCoordinate inputs.
  • Added clearer rejection for DASPy-incompatible relative/numeric time axes.
  • Added XDAS conversion support for ArrayCoordinate via dense coordinates.
  • Preserved coordinate dimensions when converting to XDAS, including auxiliary coordinates such as latitude, longitude, x, y, and z.
  • Fixed DASCore round-trip handling for ArrayCoordinate.
  • Switched packaging from Hatchling to Setuptools dynamic versioning from unidas.__version__.
  • Bumped minimum Python version to >=3.12.
  • Updated CI to test Python 3.12, 3.13, and 3.14.
  • Updated the release workflow to publish only when __version__ changes, then create a tag and GitHub release.
  • Updated README installation guidance and DASPy compatibility notes.

@codecov-commenter

codecov-commenter commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (64e20ba) to head (9bea408).

Additional details and impacted files
@@             Coverage Diff             @@
##             main        #9      +/-   ##
===========================================
+ Coverage   93.61%   100.00%   +6.38%     
===========================================
  Files           1         1              
  Lines         313       338      +25     
===========================================
+ Hits          293       338      +45     
+ Misses         20         0      -20     
Flag Coverage Δ
unittests 100.00% <100.00%> (+6.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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

@d-chambers d-chambers merged commit 6f88f7e into main May 7, 2026
9 checks passed
@d-chambers d-chambers deleted the better_testing_python_version branch May 7, 2026 15:20
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