From 9df7f7fa77e1783351a2633c4468c8d7f1584cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Grollier?= Date: Mon, 6 Aug 2012 12:59:06 +0200 Subject: [PATCH 1/4] Empty the 'docs/astrodata' directory. --- docs/{astrodata => astroquery}/besancon.rst | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/{astrodata => astroquery}/besancon.rst (100%) diff --git a/docs/astrodata/besancon.rst b/docs/astroquery/besancon.rst similarity index 100% rename from docs/astrodata/besancon.rst rename to docs/astroquery/besancon.rst From 954f467835b23d5e34bcde9386ee6ee3a96276e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Grollier?= Date: Mon, 6 Aug 2012 13:00:52 +0200 Subject: [PATCH 2/4] Change references to the 'astrodata' package, remaned to 'astroquery'. --- astroquery/besancon/besancon.py | 2 +- docs/astroquery/besancon.rst | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/astroquery/besancon/besancon.py b/astroquery/besancon/besancon.py index 72ccef8f11..a584104c19 100644 --- a/astroquery/besancon/besancon.py +++ b/astroquery/besancon/besancon.py @@ -11,7 +11,7 @@ import socket import time import copy -from astrodata.utils import progressbar +from astroquery.utils import progressbar import sys import re diff --git a/docs/astroquery/besancon.rst b/docs/astroquery/besancon.rst index 280826e249..47976b95d3 100644 --- a/docs/astroquery/besancon.rst +++ b/docs/astroquery/besancon.rst @@ -1,7 +1,7 @@ -.. _astrodata.besancon: +.. _astroquery.besancon: ***************************************** -Besancon Queries (`astrodata.besancon`) +Besancon Queries (`astroquery.besancon`) ***************************************** Getting started @@ -10,7 +10,7 @@ Getting started The following example illustrates an Besancon catalog/image query. The API describes the relevant keyword arguments (of which there are many) :: - >>> from astrodata import besancon + >>> from astroquery import besancon >>> besancon_model = besancon.request_besancon('your@email.net',10.5,0.0) >>> import astropy.io.ascii as asciitable >>> from astropy.io.ascii import besancon as besancon_reader @@ -68,5 +68,5 @@ A successful run should look something like this:: Reference/API ============= -.. automodapi:: astrodata.besancon +.. automodapi:: astroquery.besancon :no-inheritance-diagram: From 1dc689875560046f1f1bd242889da165ebe72bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Grollier?= Date: Mon, 6 Aug 2012 13:37:04 +0200 Subject: [PATCH 3/4] Add a __init__.py file for the 'besancon' subpackage. --- astroquery/besancon/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 astroquery/besancon/__init__.py diff --git a/astroquery/besancon/__init__.py b/astroquery/besancon/__init__.py new file mode 100644 index 0000000000..d80dd8d276 --- /dev/null +++ b/astroquery/besancon/__init__.py @@ -0,0 +1 @@ +from besancon import * From 45b26298e8df4e6705d2130cc4e7e7ffda67ca6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Grollier?= Date: Mon, 6 Aug 2012 13:39:36 +0200 Subject: [PATCH 4/4] Add missing subpackages to docs' main toctree. --- docs/astroquery/index.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/astroquery/index.rst b/docs/astroquery/index.rst index ea1e1ef56a..5c511cf878 100644 --- a/docs/astroquery/index.rst +++ b/docs/astroquery/index.rst @@ -9,3 +9,6 @@ This is the documentation for the affiliated package. irsa.rst ukidss.rst magpis.rst + nrao.rst + simbad.rst + besancon.rst