Skip to content

Commit

Permalink
Add sorting to amp name list for repeatability.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Jul 13, 2023
1 parent fdeb4ff commit bd8d6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/algorithms/simple_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def __init__(self, amp_name_list, wavelength, efficiency, metadata):
super().__init__(wavelength, efficiency, metadata)
amp_names = set(amp_name_list)
self.data = {}
for amp_name in amp_names:
for amp_name in sorted(amp_names):
idx = numpy.where(amp_name_list == amp_name)[0]
# Deal with the case where the keys are bytes from FITS
name = amp_name
Expand Down

0 comments on commit bd8d6ff

Please sign in to comment.