Skip to content

Commit

Permalink
more flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Apr 18, 2024
1 parent 7fc0acc commit 80db655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ap/association/filterDiaSourceCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 80db655

Please sign in to comment.