Skip to content

Commit 244328c

Browse files
authored
reorder anyOf in apcorr schema to work around asdf bug (#542)
2 parents c3a51f1 + 32af770 commit 244328c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

changes/542.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Reorder anyOf items in apcorr schema to work around asdf bug.

src/rad/resources/schemas/reference_files/apcorr-1.0.0.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,32 @@ properties:
2828
description: The aperture correction for each enclosed energy
2929
fraction, corresponding to 1 / ee_fractions.
3030
anyOf:
31+
- type: "null"
3132
- tag: tag:stsci.edu:asdf/core/ndarray-1.*
3233
datatype: float64
3334
exact_datatype: true
3435
ndim: 1
35-
- type: "null"
3636
ee_fractions:
3737
title: Enclosed Energy Fractions
3838
description: Fractions of the enclosed energy of the PSF at which
3939
to estimate the aperture correction and enclosed energy radii.
4040
anyOf:
41+
- type: "null"
4142
- tag: tag:stsci.edu:asdf/core/ndarray-1.*
4243
datatype: float64
4344
exact_datatype: true
4445
ndim: 1
45-
- type: "null"
4646
ee_radii:
4747
title: Enclosed Energy Radii
4848
description: Radius, in pixels, within which the enclosed energy
4949
fractions are met. The indexing matches that of
5050
"ee_fractions".
5151
anyOf:
52+
- type: "null"
5253
- tag: tag:stsci.edu:asdf/core/ndarray-1.*
5354
datatype: float64
5455
exact_datatype: true
5556
ndim: 1
56-
- type: "null"
5757
sky_background_rin:
5858
title: Inner Radius for the Sky Background
5959
description: Inner radius, in pixels, to use when estimating the

0 commit comments

Comments
 (0)