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-38780: Update graph builder to always produce resolved refs #323

Merged
merged 6 commits into from Apr 28, 2023

Conversation

andy-slac
Copy link
Contributor

This commit also fixes a bug in graph builder which produced un-connected
graphs in case of existing intermediate datasets.

Add method QuantumGraph.updateRun. This new method updates run collection name and dataset IDs for all output
and intermediate datasets in a graph.

Checklist

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

@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Patch coverage: 90.00% and project coverage change: +0.18 🎉

Comparison is base (47e39a0) 82.09% compared to head (6212ec0) 82.27%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
+ Coverage   82.09%   82.27%   +0.18%     
==========================================
  Files          59       60       +1     
  Lines        6600     6663      +63     
  Branches     1353     1360       +7     
==========================================
+ Hits         5418     5482      +64     
+ Misses        913      909       -4     
- Partials      269      272       +3     
Impacted Files Coverage Δ
python/lsst/pipe/base/tests/simpleQGraph.py 70.62% <0.00%> (-1.35%) ⬇️
python/lsst/pipe/base/graphBuilder.py 65.20% <78.82%> (+0.54%) ⬆️
tests/test_graphBuilder.py 94.18% <87.50%> (-0.50%) ⬇️
tests/test_quantumGraph.py 96.48% <97.36%> (-0.41%) ⬇️
python/lsst/pipe/base/graph/graph.py 83.68% <100.00%> (+0.89%) ⬆️
python/lsst/pipe/base/tests/util.py 100.00% <100.00%> (ø)
tests/test_pipelineTask.py 97.29% <100.00%> (-0.08%) ⬇️

... and 2 files 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.

This new method updates run collection name and dataset IDs for all output
and intermediate datasets in a graph.
python/lsst/pipe/base/graph/graph.py Show resolved Hide resolved
tests/test_graphBuilder.py Outdated Show resolved Hide resolved
tests/test_graphBuilder.py Outdated Show resolved Hide resolved
andy-slac and others added 3 commits April 28, 2023 11:26
This commit also fixes a bug in graph builder which produced un-connected
graphs in case of existing intermediate datasets.
Co-authored-by: Jim Bosch <jbosch@astro.princeton.edu>
@andy-slac andy-slac merged commit df2cacc into main Apr 28, 2023
10 checks passed
@andy-slac andy-slac deleted the tickets/DM-38780 branch April 28, 2023 18:38
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

2 participants