Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As part of the refactoring, I have performed an initial code reorganization:
visualization
togui_tools
andplotting
utils
read_file
,set_up
,crossmatch_APASS2VSX
,mag_scale
, andin_field
moved fromgui_tools/comparison_function.py
toutils/comparison_utils.py
catalog_search.py
fromdifferential_photometry
toutils
magnitude_transforms.py
fromdifferential_photometry
toutils
In the process of performing these moves, I searched for each call to each function in the source code and fixed all imports to work. I also moved some of the testing files around. I did confirm
pytest
runs to completion.Miscellania: I also replaced several
import pandas
withimport pandas as pd
and fixed the corresponding function calls as this is fairly standard. I also fixed a deprecated call to the astropy functionscale_image
which was removed in astropy 2.0!