diff options
author | Aaron LI <aly@aaronly.me> | 2018-10-31 22:18:50 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-10-31 22:18:50 +0800 |
commit | 1eefe2c863b87fa19ab40046d96aa23863ff8077 (patch) | |
tree | 2e25b4420dbf7a550e6666d50cf6a88779f69f6a /fg21sim/galactic/snr.py | |
parent | a88b5bd561d5c09f053e29c40561423ba4c4e3d0 (diff) | |
download | fg21sim-1eefe2c863b87fa19ab40046d96aa23863ff8077.tar.bz2 |
PEP8 fix
Diffstat (limited to 'fg21sim/galactic/snr.py')
-rw-r--r-- | fg21sim/galactic/snr.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fg21sim/galactic/snr.py b/fg21sim/galactic/snr.py index 2e6d21c..f35337d 100644 --- a/fg21sim/galactic/snr.py +++ b/fg21sim/galactic/snr.py @@ -180,8 +180,10 @@ class SuperNovaRemnants: logger.info("SNRs catalog: filtered out due to incomplete data: " + "{0:d} objects".format(n_delete)) # Filter out the SNRs lying outside the sky region (e.g., a patch) - skycoords = SkyCoord(l=self.catalog["glon"], b=self.catalog["glat"], - frame="galactic", unit="deg") + skycoords = SkyCoord(l=self.catalog["glon"], # noqa: E741 + b=self.catalog["glat"], + frame="galactic", + unit="deg") inside = self.sky.contains(skycoords) n_remain = inside.sum() n_delete = len(inside) - n_remain |