Skip to content

Commit

Permalink
reorder anyOf in apcorr schema to work around asdf bug (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Feb 12, 2025
2 parents c3a51f1 + 32af770 commit 244328c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changes/542.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reorder anyOf items in apcorr schema to work around asdf bug.
6 changes: 3 additions & 3 deletions src/rad/resources/schemas/reference_files/apcorr-1.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,32 @@ properties:
description: The aperture correction for each enclosed energy
fraction, corresponding to 1 / ee_fractions.
anyOf:
- type: "null"
- tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: float64
exact_datatype: true
ndim: 1
- type: "null"
ee_fractions:
title: Enclosed Energy Fractions
description: Fractions of the enclosed energy of the PSF at which
to estimate the aperture correction and enclosed energy radii.
anyOf:
- type: "null"
- tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: float64
exact_datatype: true
ndim: 1
- type: "null"
ee_radii:
title: Enclosed Energy Radii
description: Radius, in pixels, within which the enclosed energy
fractions are met. The indexing matches that of
"ee_fractions".
anyOf:
- type: "null"
- tag: tag:stsci.edu:asdf/core/ndarray-1.*
datatype: float64
exact_datatype: true
ndim: 1
- type: "null"
sky_background_rin:
title: Inner Radius for the Sky Background
description: Inner radius, in pixels, to use when estimating the
Expand Down

0 comments on commit 244328c

Please sign in to comment.