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-13452: Few small fixes needed for SuperTask/QuantumGraph #37

Merged
merged 1 commit into from May 8, 2018

Conversation

andy-slac
Copy link
Contributor

Reincarnation of #19 PR after some changes - I dropped changes to units as that module disappeared. Quantum changes are still there, and it is simple addition of outputs DatasetRefs. All comments regarding Quantum from old PR were taken into account. @pschella already said that Quantum changes look OK, so I'll probably just merge this unless I get more comments today-tomorrow.

Small fixes for things that I discovered while trying to implement
trivial tests on SuperTask side that depend on gen3 butler interfaces.
"""A `dict` of output datasets (to be) generated for this quantum,
with the same form as `predictedInputs`.

Read-only; update via `addOutput()`.
Copy link
Member

Choose a reason for hiding this comment

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

I think you may well need two backticks here for numpydoc because it (and predictedInputs text above) are not classes. I think the alternative is to write something like ~lsst.daf.core.butler.Quantum.addOutput() (or whatever); ie give a fully qualified method name and the ~ means to truncate the output to the final element. I haven't tested this though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BTW, I almost literally copied docstring from other method in this class, should I change it everywhere?

Copy link
Member

Choose a reason for hiding this comment

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

Ah. Leave it then. I'll fix it next time I try to run the doc gen and see all the warnings appear.

@andy-slac andy-slac merged commit 7135fba into master May 8, 2018
@ktlim ktlim deleted the tickets/DM-13452 branch August 25, 2018 06:49
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