Skip to content

fix unit tests by restoring .fits files and using MODEL_IMAGe#1129

Merged
Jammy2211 merged 1 commit intomainfrom
feature/fits_aggregator_csv
May 2, 2025
Merged

fix unit tests by restoring .fits files and using MODEL_IMAGe#1129
Jammy2211 merged 1 commit intomainfrom
feature/fits_aggregator_csv

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

The following PR add a .csv visualization file for irregular source reconstructions:

https://github.com/Jammy2211/PyAutoLens/compare/feature/fits_reconstruction?expand=1

This PR adds a method to AggregateFITS which loads these .csv files as lists of dictionaries.

Its a bit odd it being in AggregateFITS, but doesn't fit with the usage of other Aggregate objects and I dont want to make a new one. There will be more .csv visuals in the future so I woill think about how to approach this going forward.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.40%. Comparing base (71c5859) to head (cb272ad).
Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1129      +/-   ##
==========================================
- Coverage   81.48%   81.40%   -0.08%     
==========================================
  Files         207      207              
  Lines       15893    15933      +40     
==========================================
+ Hits        12951    12971      +20     
- Misses       2942     2962      +20     

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

Comment on lines -30 to +31
ModelImage = "MODEL_IMAGE"
ModelData = "MODEL_IMAGE"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It's less confusing if name and value contain the same words but not absolutely necessary

@Jammy2211 Jammy2211 merged commit 8a5a431 into main May 2, 2025
5 of 6 checks passed
@Jammy2211 Jammy2211 deleted the feature/fits_aggregator_csv branch June 24, 2025 13:49
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