-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding (back?) source_value to RegistryResource.
This addresses review comment #289 (review)
- Loading branch information
Showing
5 changed files
with
55 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,2 @@ | ||
regtap.xml is used as a generic regtap query response in many of | ||
test_regtap's fixtures; most tests don't actually inspect its contents. | ||
|
||
To update it (necessary after changes to regtap.get_RegTAP_query), run | ||
this to update it: | ||
|
||
import requests | ||
from pyvo.registry import regtap | ||
|
||
with open("regtap.xml", "wb") as f: | ||
f.write(requests.get(regtap.REGISTRY_BASEURL+"/sync", { | ||
"LANG": "ADQL", | ||
"QUERY": regtap.get_RegTAP_query( | ||
keywords="pulsar", ucd=["pos.distance"])}).content) | ||
|
||
Instructions for how to update these data items should be found in | ||
the fixtures in test_regtap.py |
Large diffs are not rendered by default.
Oops, something went wrong.
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