Skip to content

Commit

Permalink
clear HSC jointcal filterMaps before filling them.
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jun 2, 2020
1 parent 2bec7c0 commit b8dd8eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/hsc/jointcal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import os.path

# `load()` appends to the filterMaps: we need them to be empty, so that only
# the specified filter mappings are used.
config.photometryRefObjLoader.filterMap = {}
config.astrometryRefObjLoader.filterMap = {}
filterMapFile = os.path.join(os.path.dirname(__file__), "filterMap.py")
config.photometryRefObjLoader.load(filterMapFile)
config.astrometryRefObjLoader.load(filterMapFile)
Expand Down

0 comments on commit b8dd8eb

Please sign in to comment.