Commit 79d90a4e authored by Fang Yuedong's avatar Fang Yuedong
Browse files

bug fixed

parent fa4b5648
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,9 +32,9 @@ class C3Catalog(CatalogBase):
        # self.normF_star = Table.read(os.path.join(self.normalize_dir, 'SLOAN_SDSS.g.fits'))
        # self.normF_galaxy = Table.read(os.path.join(self.normalize_dir, 'lsst_throuput_g.fits'))
        with pkg_resources.path('Catalog.data', 'SLOAN_SDSS.g.fits') as filter_path:
                self.normF_star = str(filter_path)
                self.normF_star = Table.read(str(filter_path))
        with pkg_resources.path('Catalog.data', 'lsst_throuput_g.fits') as filter_path:
                self.normF_star = str(filter_path)
                self.normF_galaxy = Table.read(str(filter_path))
        
        self.config = config
        self.chip = chip