From 80db655e7ddd6a02716edca2fceba14852513b48 Mon Sep 17 00:00:00 2001 From: Brianna Smart Date: Thu, 18 Apr 2024 13:02:47 -0700 Subject: [PATCH] more flake8 --- python/lsst/ap/association/filterDiaSourceCatalog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lsst/ap/association/filterDiaSourceCatalog.py b/python/lsst/ap/association/filterDiaSourceCatalog.py index 63ba30d1..a7b476c9 100644 --- a/python/lsst/ap/association/filterDiaSourceCatalog.py +++ b/python/lsst/ap/association/filterDiaSourceCatalog.py @@ -221,8 +221,8 @@ def _check_dia_source_trail(self, dia_sources, exposure_time): suspect_long_trail and edge are set and masks those sources out. """ print(dia_sources.getSchema()) - trail_mask = (dia_sources["ext_trailedSources_Naive_length"] >= - (self.config.max_trail_length*exposure_time)) + trail_mask = (dia_sources["ext_trailedSources_Naive_length"] + >= (self.config.max_trail_length*exposure_time)) trail_mask |= dia_sources['ext_trailedSources_Naive_flag_off_image'] trail_mask |= (dia_sources['ext_trailedSources_Naive_flag_suspect_long_trail'] & dia_sources['ext_trailedSources_Naive_flag_edge'])