Commit fa4b5648 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

posixPath bug fix

parent 2f6b3ce6
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 = filter_path
                self.normF_star = str(filter_path)
        with pkg_resources.path('Catalog.data', 'lsst_throuput_g.fits') as filter_path:
                self.normF_star = filter_path
                self.normF_star = str(filter_path)
        
        self.config = config
        self.chip = chip