-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update required to compute_2d_background() in astrometric_utils.py (#…
…1480) * Modified compute_2d_background to accommodate API changes in PhotUtils while keeping this source code backwards compatible. Modified the imports used in conjunction with OLD_PHOTUTILS. * Simplified logic around the imports as the reviewers suggestion. Removed the truly obsolete "if OLD_PHOTUTILS" discriminant in several places when it was referencing really old PhotUtils versions (1.5.0). * Add E401 to be ignored on testing (multiple imports on a single line). * Removed dataset from test as an inappropriate dataset for the test. The dataset only has FLT files and no FLC files. * Fix inadvertently botched dataset name to one which does not existent.
- Loading branch information
Showing
3 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters