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

Update for ceci version 2 #52

Merged
merged 8 commits into from
Jul 31, 2024
Merged

Update for ceci version 2 #52

merged 8 commits into from
Jul 31, 2024

Conversation

joezuntz
Copy link
Contributor

This PR updates the constructors of all stage subclasses to work with ceci version 2, in which aliases are specified in the constructor. A similar PR has been opened for each RAIL repo.

The main change is to the the constructors to accept any keywords with **kwargs and pass them to the parent class.

I have also removed any constructors which did not do anything except call the parent class constructor. Since this happens automatically if you omit the constructor, these were redundant.

Finally, in constructors I have changed I have removed hard-coded parent classes in favour of the python3 recommended super() function. If the parent class are changed in the future the constructor will still work.

Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (9d0f2dc) to head (9483841).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          242       242           
=========================================
  Hits           242       242           

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

@sschmidt23 sschmidt23 self-requested a review July 31, 2024 01:26
Copy link
Collaborator

@sschmidt23 sschmidt23 left a comment

Choose a reason for hiding this comment

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

Looks good, there was an issue with DESC_BPZ that I fixed so now all tests are passing. Will merge. Thanks Joe.

@sschmidt23 sschmidt23 merged commit 2dadd3f into main Jul 31, 2024
6 checks passed
@sschmidt23 sschmidt23 deleted the ceci2 branch July 31, 2024 01:27
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