Skip to content

Commit

Permalink
Fixing a few tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcrenshaw committed Oct 27, 2024
1 parent 3b1759c commit 148ab07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/task/test_calcZernikesTieTaskScienceSensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def testValidateConfigs(self):

self.assertEqual(type(self.task.combineZernikes), CombineZernikesMeanTask)
self.assertEqual(type(self.task.donutStampSelector), DonutStampSelectorTask)
self.assertEqual(self.task.doDonutStampSelector, False)
self.assertEqual(self.task.doDonutStampSelector, True)

def testEstimateZernikes(self):
donutStampsExtra = self.butler.get(
Expand Down Expand Up @@ -204,6 +204,8 @@ def testCalcZernikes(self):
"ENTROPY",
"ENTROPY_SELECT",
"SN_SELECT",
"FRAC_BAD_PIX",
"FRAC_BAD_PIX_SELECT",
"FINAL_SELECT",
"DEFOCAL_TYPE",
]
Expand Down
2 changes: 2 additions & 0 deletions tests/task/test_calcZernikesUnpairedTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ def testTable(self):
"ENTROPY",
"ENTROPY_SELECT",
"SN_SELECT",
"FRAC_BAD_PIX",
"FRAC_BAD_PIX_SELECT",
"FINAL_SELECT",
"DEFOCAL_TYPE",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/task/test_donutStampSelectorTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def testSelectStamps(self):
# test custom SNR thresholds
self.config.selectWithEntropy = False
self.config.useCustomSnLimit = True
minSignalToNoise = 1585
minSignalToNoise = 1658
self.config.minSignalToNoise = minSignalToNoise
task = DonutStampSelectorTask(config=self.config, name="SN Task")
selection = task.selectStamps(donutStampsIntra)
Expand Down

0 comments on commit 148ab07

Please sign in to comment.