Commit c326c535 authored by Wei Chengliang's avatar Wei Chengliang
Browse files

update codestyle-PEP8

parent ba121152
Pipeline #7106 failed with stage
in 0 seconds
......@@ -177,7 +177,7 @@ class Catalog(CatalogBase):
# param["CSSTmag"]= True
# param["mag_r"] = 20.
# param['']
### more keywords for stamp###
# more keywords for stamp#
param['image'] = hdu[0].data
param['image'] = param['image']/(np.sum(param['image']))
obj = Stamp(param)
......
......@@ -25,7 +25,7 @@ class Observation(object):
def prepare_chip_for_exposure(self, chip, ra_cen, dec_cen, pointing, wcs_fp=None, slsPSFOptim=False):
# Get WCS for the focal plane
if wcs_fp == None:
if wcs_fp is None:
wcs_fp = self.focal_plane.getTanWCS(
ra_cen, dec_cen, pointing.img_pa, chip.pix_scale)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment