Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of astroquery from drizzlepac #1606

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

mdlpstsci
Copy link
Collaborator

Use of the astroquery package via the drizzlepac astroquery_utils module has been removed. As observed in other spacetelescope packages, a conflict between astroquery and Artifactory caused PyTests to fail in an inexplicable way. The PyTests have been modified to use Artifactory. The few PyTests which deliberately have their datasets defined based on a randomly selected dataset from an input file have been set to skip. These tests were used to derive statistics on the success rate of alignment for single visits, so they really are deprecated pieces of code. Bits of other modules in drizzlepac had to be modified to accommodate the removal of astroquery.

The pyproject.toml file was modified to force an upper limit on the Numpy version until incompatible issues can be resolved.

@mdlpstsci mdlpstsci added code cleanup Code refactoring, cleanup of temporary code jirahub-ignore Avoid linking to Jira labels Jul 5, 2023
@mdlpstsci mdlpstsci requested review from stscirij and raswaters July 5, 2023 20:47
@mdlpstsci mdlpstsci self-assigned this Jul 5, 2023
@mdlpstsci mdlpstsci requested a review from a team as a code owner July 5, 2023 20:47
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Patch coverage: 40.74% and project coverage change: -1.06% ⚠️

Comparison is base (8d09dda) 32.39% compared to head (c0f726f) 31.34%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1606      +/-   ##
==========================================
- Coverage   32.39%   31.34%   -1.06%     
==========================================
  Files         159      156       -3     
  Lines       35047    34391     -656     
  Branches        0     5624    +5624     
==========================================
- Hits        11355    10779     -576     
+ Misses      23692    22524    -1168     
- Partials        0     1088    +1088     
Files Changed Coverage Δ
drizzlepac/align.py 66.60% <0.00%> (+17.72%) ⬆️
drizzlepac/haputils/poller_utils.py 48.64% <0.00%> (-3.43%) ⬇️
tests/hap/base_classes.py 48.64% <0.00%> (+0.59%) ⬆️
tests/hap/template_svm_demo.py 0.00% <0.00%> (ø)
tests/hap/test_pipeline.py 10.52% <14.28%> (-81.69%) ⬇️
tests/hap/test_apriori.py 21.42% <33.33%> (+0.46%) ⬆️
tests/hap/test_run_svmpoller.py 22.80% <50.00%> (-12.20%) ⬇️
tests/hap/test_svm_hrcsbc.py 36.84% <66.66%> (-54.47%) ⬇️
tests/hap/test_svm_ibqk07.py 31.37% <66.66%> (-64.11%) ⬇️
tests/hap/test_svm_ibyt50.py 37.06% <66.66%> (-57.22%) ⬇️
... and 6 more

... and 55 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mdlpstsci mdlpstsci force-pushed the remove_astroquery branch from 6443574 to c0f726f Compare July 21, 2023 20:50
@mdlpstsci mdlpstsci added the Do Not Merge PR which should not be merged label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Code refactoring, cleanup of temporary code Do Not Merge PR which should not be merged in progress jirahub-ignore Avoid linking to Jira
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant