spacetelescope / romancal

Python library to process science observations from the Nancy Grace Roman Space Telescope
https://roman-pipeline.readthedocs.io/en/latest/
Other
31 stars 28 forks source link

Sonarqube issue `Delete this unreachable code or refactor the code to make it reachable.` #1321

Closed zacharyburnett closed 2 months ago

zacharyburnett commented 2 months ago

https://github.com/spacetelescope/romancal/commit/c49de361201c37ee2149e9e537645137bd6df655#r144502886

https://plsonarqube.stsci.edu/project/issues?resolved=false&inNewCodePeriod=true&types=BUG&id=romancal&open=AZDa1WObP2Ra6VKE2obz

https://github.com/spacetelescope/romancal/blob/c49de361201c37ee2149e9e537645137bd6df655/romancal/outlier_detection/outlier_detection.py#L176-L214