Skip to content

Commit

Permalink
Remove classification plugin from config object
Browse files Browse the repository at this point in the history
Classification now happens in the afterburner task, not a measurement
task, and thus the configuration needs to be modified. Introducing
an afterburner task is unneeded as the tests did not actually test
any functionality that depended on classification.
  • Loading branch information
natelust committed Jun 22, 2016
1 parent a9dee2a commit d870e2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def testDetection(self):
sfm_config = measBase.SingleFrameMeasurementConfig()
sfm_config.plugins = ["base_SdssCentroid", "base_CircularApertureFlux", "base_PsfFlux",
"base_SdssShape", "base_GaussianFlux",
"base_ClassificationExtendedness", "base_PixelFlags"]
"base_PixelFlags"]
sfm_config.slots.centroid = "base_SdssCentroid"
sfm_config.slots.shape = "base_SdssShape"
sfm_config.slots.psfFlux = "base_PsfFlux"
Expand Down
2 changes: 1 addition & 1 deletion tests/psfIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def setUp(self):
sfm_config = measBase.SingleFrameMeasurementConfig()
sfm_config.plugins = ["base_SdssCentroid", "base_CircularApertureFlux", "base_PsfFlux",
"base_SdssShape", "base_GaussianFlux",
"base_ClassificationExtendedness", "base_PixelFlags"]
"base_PixelFlags"]
sfm_config.slots.centroid = "base_SdssCentroid"
sfm_config.slots.shape = "base_SdssShape"
sfm_config.slots.psfFlux = "base_PsfFlux"
Expand Down

0 comments on commit d870e2a

Please sign in to comment.