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-33497: Improve support for quantum-backed butler #764

Merged
merged 7 commits into from Jan 12, 2023
Merged

Conversation

andy-slac
Copy link
Contributor

A number of small changes needed for implementation of new pipetask command that use quantum-backed-butler.

Checklist

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

@codecov
Copy link

codecov bot commented Dec 15, 2022

Codecov Report

Base: 84.91% // Head: 84.89% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (52b77d1) compared to base (927a4e4).
Patch coverage: 82.35% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #764      +/-   ##
==========================================
- Coverage   84.91%   84.89%   -0.03%     
==========================================
  Files         267      267              
  Lines       35021    35052      +31     
  Branches     5983     5990       +7     
==========================================
+ Hits        29739    29758      +19     
- Misses       4000     4009       +9     
- Partials     1282     1285       +3     
Impacted Files Coverage Δ
python/lsst/daf/butler/core/quantum.py 87.26% <ø> (ø)
...n/lsst/daf/butler/registry/interfaces/_datasets.py 72.88% <16.66%> (-3.02%) ⬇️
python/lsst/daf/butler/_butler.py 78.61% <28.57%> (-0.58%) ⬇️
python/lsst/daf/butler/_quantum_backed.py 88.43% <92.85%> (+0.02%) ⬆️
tests/test_quantumBackedButler.py 98.14% <97.36%> (-0.41%) ⬇️
python/lsst/daf/butler/__init__.py 100.00% <100.00%> (ø)
python/lsst/daf/butler/cli/cmd/commands.py 90.67% <100.00%> (ø)
python/lsst/daf/butler/cli/opt/options.py 93.33% <100.00%> (+0.15%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@TallJimbo TallJimbo changed the title DM-33497: Improve support for quntum-backed butler DM-33497: Improve support for quantum-backed butler Jan 3, 2023
python/lsst/daf/butler/core/quantum.py Outdated Show resolved Hide resolved
python/lsst/daf/butler/registry/interfaces/_datasets.py Outdated Show resolved Hide resolved
python/lsst/daf/butler/cli/utils.py Outdated Show resolved Hide resolved
python/lsst/daf/butler/_quantum_backed.py Outdated Show resolved Hide resolved
python/lsst/daf/butler/_quantum_backed.py Show resolved Hide resolved
python/lsst/daf/butler/_quantum_backed.py Outdated Show resolved Hide resolved
@andy-slac andy-slac force-pushed the tickets/DM-33497 branch 6 times, most recently from a6d3865 to a6b9e10 Compare January 10, 2023 16:09
The source butler in transfer_from is now a `LimitedButler` to support
transfer from `QuantumBackedBUtler`. If input data IDs are not expanded
we need access to registry, so it has to resort to dynamic type checking
using `getattr`.
Move that option definition to `cli.opt` to enable its reuse by a
new CLI command in `pipe_base` package.
@andy-slac andy-slac merged commit fb745a2 into main Jan 12, 2023
@andy-slac andy-slac deleted the tickets/DM-33497 branch January 12, 2023 21:50
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.

None yet

3 participants