Skip to content

Conversation

@zmoon
Copy link
Owner

@zmoon zmoon commented Mar 21, 2025

No description provided.

@codecov
Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.50%. Comparing base (ba89331) to head (dafd170).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
+ Coverage   89.40%   89.50%   +0.10%     
==========================================
  Files           9        9              
  Lines        1321     1334      +13     
==========================================
+ Hits         1181     1194      +13     
  Misses        140      140              

☔ 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.

@zmoon zmoon marked this pull request as ready for review March 21, 2025 16:15
@zmoon zmoon requested a review from Copilot March 21, 2025 16:19
Copy link

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.

Pull Request Overview

This pull request updates the code to save and load the tune data using gzip-compressed JSON files, reducing file size and potentially improving I/O performance.

  • The download functions in both files now save gzip-compressed files (with a “.gz” extension).
  • The load function in pyabc2/sources/the_session.py has been updated to read from the gzipped file and now forces a re-download if the file is older than 30 days.
  • Minor changes to the print statements ensure consistent output with flushing enabled.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pyabc2/sources/the_session.py Updated download and load functions to handle gzip compression and add a new file age check function.
pyabc2/sources/norbeck.py Adjusted print messages in the download workflow for consistency with progress feedback.

@zmoon zmoon merged commit aabe902 into main Mar 21, 2025
7 checks passed
@zmoon zmoon deleted the gzip-sesh branch March 21, 2025 16:31
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