Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Apr 18, 2024
1 parent 77dc354 commit 7fc0acc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/ap/association/filterDiaSourceCatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +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"] >=

Check failure on line 224 in python/lsst/ap/association/filterDiaSourceCatalog.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

W504

line break after binary operator
(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 7fc0acc

Please sign in to comment.