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-11597: Integration in pipelines.lsst.io docs #16

Merged
merged 5 commits into from Aug 28, 2017

Conversation

jonathansick
Copy link
Member

This PR integrates verify and lsst.verify into the pipelines.lsst.io documentation build.

  • Remove deprecated user guides from validate_base (alas, new user guides need to be written for lsst.verify still).
  • Add package documentation boilerplate.
  • Improve docstrings.

Homepage for verify package: https://pipelines.lsst.io/v/DM-11597/packages/verify/index.html
Homepage for lsst.verify module: https://pipelines.lsst.io/v/DM-11597/modules/lsst.verify/index.html

The package documentation system no longer relies on README and
requirements.txt to setup an ad hoc Sphinx build.
This is the templated boilerplate for package documentation. The
manifest declares lsst.verify **module** documentation and verify
**package** documentation directories.
Copy link
Contributor

@SimonKrughoff SimonKrughoff left a comment

Choose a reason for hiding this comment

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

I gave a very cursory copy edit pass. But looks good overall.

Parameters
----------
data : `dict`-like
The ``data`` object need to provide an ``items`` method it
Copy link
Contributor

Choose a reason for hiding this comment

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

need -> needs
it -> to ?

``extras`` work just like `Blob`\ s, but they're automatically created with
each `Measurement`. Add `~lsst.verify.Datum`\ s to ``extras`` if those
`~lsst.verify.Datum`\ s only make sense in the context of that
`Measurement`. If `Datums`\ s are relevant to multiple measurement, add
Copy link
Contributor

Choose a reason for hiding this comment

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

Datums -> Datum


These key-value pairs are automatically available from `Job.meta`,
though keys are prefixed with the `Metric`\ 's name. This metadata can
be queried by `Specification`\ s, so that `Specification` \s can be
Copy link
Contributor

Choose a reason for hiding this comment

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

\s -> \ s

@@ -30,7 +30,11 @@


class MeasurementSet(JsonSerializationMixin):
"""A collection of measurements of metrics.
"""A collection of `~lsst.verify.Measurement` s of
Copy link
Contributor

Choose a reason for hiding this comment

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

do you need the escaping ?

Units of the metric. `Measurements` of this metric must be in an
equivalent (i.e. convertable) unit. Argument can either be a
`~astropy.unit.Unit` instance, or a an astropy.unit.Unit-compatible
Units of the metric. `~lsst.verify.Measurements` of this metric must be
Copy link
Contributor

Choose a reason for hiding this comment

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

Measurements -> Measurement\ s?

exist in this set are added to this one. Specification in ``other``
replace specifications of the same name in this one.
Another `SpecificationSet`. `Specification`\ s in ``other`` that do
exist in this set are added to this one. `Specification`\ s in
Copy link
Contributor

Choose a reason for hiding this comment

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

do -> do not

This is a sweep through the docstrings to fix obvious errors and typos.
The fixes are mostly to add missing docstrings, improve code links, and
fix formatting issues.
@jonathansick jonathansick merged commit 6c5e70d into master Aug 28, 2017
@ktlim ktlim deleted the tickets/DM-11597 branch August 25, 2018 05:57
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