Coverage for config/imsim/convertRepo.py: 100%

Shortcuts on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

5 statements  

1import os.path 

2 

3from lsst.obs.base.gen2to3 import ConvertRepoSkyMapConfig 

4 

5config.skyMaps["DC2"] = ConvertRepoSkyMapConfig() 

6config.skyMaps["DC2"].load(os.path.join(os.path.dirname(__file__), "..", "makeSkyMap.py")) 

7# If there's no skymap in the root repo, but some dataset defined on 

8# tracts/patches is present there (i.e. brightObjectMask), assume this 

9# skymap. 

10config.rootSkyMapName = "DC2"