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

DM-39661: Rename ButlerQuantumContext to QuantumContext #344

Merged
merged 13 commits into from
Jun 23, 2023
Merged

Conversation

timj
Copy link
Member

@timj timj commented Jun 15, 2023

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@codecov
Copy link

codecov bot commented Jun 15, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.19 🎉

Comparison is base (edb96d1) 82.56% compared to head (00ff1fe) 82.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #344      +/-   ##
==========================================
+ Coverage   82.56%   82.76%   +0.19%     
==========================================
  Files          66       66              
  Lines        7148     7242      +94     
  Branches     1394     1293     -101     
==========================================
+ Hits         5902     5994      +92     
- Misses       1000     1001       +1     
- Partials      246      247       +1     
Impacted Files Coverage Δ
python/lsst/pipe/base/config.py 70.12% <ø> (ø)
python/lsst/pipe/base/pipelineTask.py 100.00% <ø> (ø)
...ython/lsst/pipe/base/tests/mocks/_pipeline_task.py 33.92% <ø> (ø)
python/lsst/pipe/base/__init__.py 100.00% <100.00%> (ø)
python/lsst/pipe/base/_quantumContext.py 86.39% <100.00%> (ø)
python/lsst/pipe/base/pipelineIR.py 85.35% <100.00%> (ø)
python/lsst/pipe/base/testUtils.py 96.92% <100.00%> (ø)
tests/test_pipelineTask.py 99.09% <100.00%> (+0.22%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@andy-slac andy-slac 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.

python/lsst/pipe/base/_quantumContext.py Outdated Show resolved Hide resolved
python/lsst/pipe/base/_quantumContext.py Outdated Show resolved Hide resolved
Copy link
Contributor

@andy-slac andy-slac 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.

python/lsst/pipe/base/_quantumContext.py Outdated Show resolved Hide resolved
timj added 13 commits June 22, 2023 21:14
* Private naming to match expectations.
* Preparation for renaming ButlerQuantumContext to QuantumContext
This is in preparation for additional functionality.
pydocstyle is not clever enough to realize that "parameters"
in a code block is not Parameters in a numpydoc parameter
description.
It's used by analysis_tools for PipelineTaskConfig.applyConfigOverrides
so can't be treated as an entirely private API.
This gives more flexibility for the future and makes it easier
for this information to be added to ctrl_mpexec APIs.
This allows the dataclass to be strongly typed but allows
flexible parameter types to be used for construction.
This lets us take flexible types for the constructor whilst
constraining the types for the dataclass.
This is useful when the value is obtained from the command
line.
@timj timj merged commit 806fb6d into main Jun 23, 2023
@timj timj deleted the tickets/DM-39661 branch June 23, 2023 04:24
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