Loading tests/test_BF_CTE.py +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ except ImportError: import importlib_resources as pkg_resources ### test FUNCTION --- START ### # test FUNCTION --- START # def add_brighter_fatter(img): # Inital dynamic lib try: Loading Loading @@ -50,7 +50,7 @@ def add_brighter_fatter(img): img.array[:, :] = np.reshape(arr_imc, [nx, ny]) del arr_ima, arr_imc return img ### test FUNCTION --- END ### # test FUNCTION --- END # def defineCCD(iccd, config_file): Loading tests/test_PSFmodule.py +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ class PSFInterpModule_coverage(unittest.TestCase): psfB = psfModel.get_PSF( chip=chip, pos_img=pos_img, findNeighMode='hoclistFind', bandpass=bandpass[0], galsimGSObject=False) self.assertTrue(psf != None) self.assertTrue(psf is not None) self.assertTrue(np.max(np.abs(psfA-psfB)) < 1e-6) Loading tests/test_imaging.py +1 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,7 @@ class imagingModule_coverage(unittest.TestCase): gal = gal + gal_temp print(gal) self.assertTrue(gal != None) self.assertTrue(gal is not None) if __name__ == '__main__': Loading tools/get_PSF.py +1 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ for iobj in range(nobj): if True: fn = "psf_{:}.{:}.{:}.fits".format(chipID, iobj, i) if fn != None: if fn is not None: if os.path.exists(fn): os.remove(fn) hdu = fitsio.PrimaryHDU() Loading Loading
tests/test_BF_CTE.py +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ except ImportError: import importlib_resources as pkg_resources ### test FUNCTION --- START ### # test FUNCTION --- START # def add_brighter_fatter(img): # Inital dynamic lib try: Loading Loading @@ -50,7 +50,7 @@ def add_brighter_fatter(img): img.array[:, :] = np.reshape(arr_imc, [nx, ny]) del arr_ima, arr_imc return img ### test FUNCTION --- END ### # test FUNCTION --- END # def defineCCD(iccd, config_file): Loading
tests/test_PSFmodule.py +1 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ class PSFInterpModule_coverage(unittest.TestCase): psfB = psfModel.get_PSF( chip=chip, pos_img=pos_img, findNeighMode='hoclistFind', bandpass=bandpass[0], galsimGSObject=False) self.assertTrue(psf != None) self.assertTrue(psf is not None) self.assertTrue(np.max(np.abs(psfA-psfB)) < 1e-6) Loading
tests/test_imaging.py +1 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,7 @@ class imagingModule_coverage(unittest.TestCase): gal = gal + gal_temp print(gal) self.assertTrue(gal != None) self.assertTrue(gal is not None) if __name__ == '__main__': Loading
tools/get_PSF.py +1 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ for iobj in range(nobj): if True: fn = "psf_{:}.{:}.{:}.fits".format(chipID, iobj, i) if fn != None: if fn is not None: if os.path.exists(fn): os.remove(fn) hdu = fitsio.PrimaryHDU() Loading