Skip to content

Commit

Permalink
Add Configs for CharacterizeImageTask
Browse files Browse the repository at this point in the history
CharacterizeImageTask has a default name of characterizeImage, but
the config override file was named charImage reflecting the variable
name in ProcessCcdTask. This adds config files with the correct
names so that they can be appropriately discovered and loaded.
  • Loading branch information
natelust committed Nov 9, 2019
1 parent 3e1980d commit e41b235
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/characterizeImage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import os.path

from lsst.utils import getPackageDir
from lsst.meas.algorithms import ColorLimit

ObsConfigDir = os.path.join(getPackageDir("obs_subaru"), "config")

charImFile = os.path.join(ObsConfigDir, "charImage.py")
config.load(charImFile)
9 changes: 9 additions & 0 deletions config/hsc/characterizeImage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import os.path

from lsst.utils import getPackageDir
from lsst.meas.algorithms import ColorLimit

ObsConfigDir = os.path.join(getPackageDir("obs_subaru"), "config", "hsc")

charImFile = os.path.join(ObsConfigDir, "charImage.py")
config.load(charImFile)

0 comments on commit e41b235

Please sign in to comment.