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

Add new asdf-wcs-schemas manifest if necessary #463

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion gwcs/extension.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# Licensed under a 4-clause BSD style license - see LICENSE.rst
from astropy.utils import minversion
from asdf.extension import ManifestExtension
from .converters.wcs import (
CelestialFrameConverter, CompositeFrameConverter, FrameConverter,
Expand Down Expand Up @@ -43,6 +44,9 @@
"asdf://asdf-format.org/astronomy/gwcs/manifests/gwcs-1.0.0",
]

if minversion("asdf_wcs_schemas", "0.1.2.dev"):
WCS_MANIFEST_URIS.append("asdf://asdf-format.org/astronomy/gwcs/manifests/gwcs-1.1.0")

Check warning on line 48 in gwcs/extension.py

View check run for this annotation

Codecov / codecov/patch

gwcs/extension.py#L48

Added line #L48 was not covered by tests


TRANSFORM_EXTENSIONS = [
ManifestExtension.from_uri(
Expand Down
Loading