Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Sep 14, 2023
1 parent fcdc344 commit af7fff5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions python/lsst/ap/association/association.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ class AssociationConfig(pexConfig.Config):


class AssociationTask(pipeBase.Task):
while pydevd.get_global_debugger() is None or not pydevd.get_global_debugger().ready_to_run:
time.sleep(0.3)
breakpoint() # breaks here
"""Associate DIAOSources into existing DIAObjects.
This task performs the association of detected DIASources in a visit
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ap/association/trailedSourceFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _check_dia_source_trail(self, dia_sources, exposure_time):
Boolean mask for DIASources which are greater than the
cutoff length.
"""
diffIm_time = diffIm.getInfo().getVisitInfo().getExposureTime()

trail_mask = (dia_sources.loc[:, "trailLength"].values[:] >= (self.config.maxTrailLength*exposure_time))

Check failure on line 109 in python/lsst/ap/association/trailedSourceFilter.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

E501

line too long (112 > 110 characters)

return trail_mask

0 comments on commit af7fff5

Please sign in to comment.