-
Notifications
You must be signed in to change notification settings - Fork 12
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-46776: Add butler zip-from-graph command #452
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #452 +/- ##
==========================================
- Coverage 83.21% 83.00% -0.21%
==========================================
Files 101 102 +1
Lines 12085 12135 +50
Branches 1524 1535 +11
==========================================
+ Hits 10056 10073 +17
- Misses 1622 1655 +33
Partials 407 407 ☔ View full report in Codecov by Sentry. |
c2102e1
to
919a181
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
original_output_refs: set[DatasetRef] = set(qgraph.globalInitOutputRefs()) | ||
for task_def in qgraph.iterTaskGraph(): | ||
if refs := qgraph.initOutputRefs(task_def): | ||
original_output_refs.update(refs) | ||
for qnode in qgraph: | ||
for otherRefs in qnode.quantum.outputs.values(): | ||
original_output_refs.update(otherRefs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be useful to have that code as a method in the graph class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably.
bc4053c
to
49a5cd8
Compare
1d525e6
to
aa86329
Compare
Not installing anything that uses conda forge.
aa86329
to
917cffa
Compare
Depends on lsst/daf_butler#1105
Checklist
doc/changes