astropy / astropy/astroquery

BUG: cosmosim query url doesn't exists

Open
#2,723 0 comments 1 reaction 0 assignees View on GitHub
bug cosmosim
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

The module both requires authentication, and doesn't have tests, so this was under the radar for who knows how long:

```
Not found

The requested URL was not found on this server.
```

Unless someone steps up in the very near future, I would suggest removing the module just as we did with the other modules that stopped functioning and had no immediate support. This removal can be temporary in a way that the module can be resurrected and fixed up from history.

Things to do to avoid removal:
- fix the queries (swapping out the URL to https://www.cosmosim.org/query/ should likely work)
- as I see, guest access is possible, so at bare minimum we should be able to do that from here, and use it for testing.
- add tests

cc @keflavich and @agroener

Contributor guide

Open the contributing guide

Research direction

Locate the cosmosim module and first reproduce its query failure against the current service URL. Check whether guest access works, then update the queries, add coverage for the supported access path, and verify the tests exercise successful requests; if the service cannot be supported, review the removal approach described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.