Skip to content

Commit 4c98acf

Browse files
pllimbsipocz
authored andcommitted
MNT: Replace master with main
1 parent 983e9c1 commit 4c98acf

File tree

10 files changed

+66
-66
lines changed

10 files changed

+66
-66
lines changed

.github/workflows/ci_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
tags:
88
- '*'
99
pull_request:
1010
branches:
11-
- master
11+
- main
1212
schedule:
1313
# run every Monday at 5am UTC
1414
- cron: '0 5 * * 1'

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [ main ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ main ]
2020

2121
jobs:
2222
analyze:

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:target: https://github.com/astropy/astroquery/actions?query=workflow%3ACI
1313
:alt: Github Actions CI Status
1414

15-
.. image:: https://codecov.io/gh/astropy/astroquery/branch/master/graph/badge.svg
15+
.. image:: https://codecov.io/gh/astropy/astroquery/branch/main/graph/badge.svg
1616
:target: https://codecov.io/gh/astropy/astroquery
1717
:alt: Coverage results
1818

@@ -67,11 +67,11 @@ or pip installed:
6767
6868
$ pip install --pre astroquery
6969
70-
and the 'bleeding edge' master version:
70+
and the 'bleeding edge' main version:
7171

7272
.. code-block:: bash
7373
74-
$ pip install https://github.com/astropy/astroquery/archive/master.zip
74+
$ pip install https://github.com/astropy/astroquery/archive/main.zip
7575
7676
or cloned and installed from source:
7777

@@ -96,7 +96,7 @@ and `query_region`.
9696
To report bugs and request features, please use the issue tracker. Code
9797
contributions are very welcome, though we encourage you to follow the `API`_
9898
and `contributing guidelines
99-
<https://github.com/astropy/astroquery/blob/master/CONTRIBUTING.rst>`_ as much
99+
<https://github.com/astropy/astroquery/blob/main/CONTRIBUTING.rst>`_ as much
100100
as possible.
101101

102102
List of Modules
@@ -182,8 +182,8 @@ Additional Links
182182
Maintained by `Adam Ginsburg`_ and `Brigitta Sipocz <https://github.com/bsipocz>`_ (`[email protected]`_)
183183

184184

185-
.. _Download Development ZIP: https://github.com/astropy/astroquery/zipball/master
186-
.. _Download Development TAR: https://github.com/astropy/astroquery/tarball/master
185+
.. _Download Development ZIP: https://github.com/astropy/astroquery/zipball/main
186+
.. _Download Development TAR: https://github.com/astropy/astroquery/tarball/main
187187
.. _Download Stable ZIP: https://github.com/astropy/astroquery/zipball/stable
188188
.. _Download Stable TAR: https://github.com/astropy/astroquery/tarball/stable
189189
.. _View on Github: https://github.com/astropy/astroquery/

astroquery/svo_fps/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def data_from_svo(self, query, cache=True, timeout=None,
6262

6363
def get_filter_index(self, wavelength_eff_min=0*u.angstrom,
6464
wavelength_eff_max=FLOAT_MAX*u.angstrom, **kwargs):
65-
"""Get master list (index) of all filters at SVO
65+
"""Get main list (index) of all filters at SVO
6666
Optional parameters can be given to get filters data for specified
6767
Wavelength Effective range from SVO
6868

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def __getattr__(cls, name):
193193
if versionmod.release:
194194
edit_on_github_branch = "v" + versionmod.version
195195
else:
196-
edit_on_github_branch = "master"
196+
edit_on_github_branch = "main"
197197

198198
edit_on_github_source_root = ""
199199
edit_on_github_doc_root = "docs"

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is the documentation for the Astroquery coordinated package of `astropy
88

99
Code and issue tracker are on `GitHub <https://github.com/astropy/astroquery>`_.
1010

11-
If you use astroquery, please `cite <https://github.com/astropy/astroquery/blob/master/astroquery/CITATION>`__ the
11+
If you use astroquery, please `cite <https://github.com/astropy/astroquery/blob/main/astroquery/CITATION>`__ the
1212
paper `Ginsburg, Sipőcz, Brasseur et al 2019 <https://ui.adsabs.harvard.edu/abs/2019AJ....157...98G/abstract>`_.
1313

1414
Introduction

docs/svo_fps/svo_fps.rst

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Filter Profile Service (`SVO FPS <http://svo2.cab.inta-csic.es/theory/fps/>`_).
1414
It allows retrieval of filter data (index, transmission data, filter list, etc.)
1515
from the service as astropy tables.
1616

17-
Get index (master list) of all Filters
18-
--------------------------------------
17+
Get index (main list) of all Filters
18+
------------------------------------
1919

2020
The filter index (all available filters with their properties) can be listed
2121
with `~astroquery.svo_fps.SvoFpsClass.get_filter_index`:
@@ -28,19 +28,19 @@ with `~astroquery.svo_fps.SvoFpsClass.get_filter_index`:
2828
<Table masked=True length=5139>
2929
name dtype unit
3030
-------------------- ------- ----
31-
FilterProfileService object
32-
filterID object
33-
WavelengthUnit object
34-
WavelengthUCD object
35-
PhotSystem object
36-
DetectorType object
37-
Band object
38-
Instrument object
39-
Facility object
40-
ProfileReference object
41-
CalibrationReference object
42-
Description object
43-
Comments object
31+
FilterProfileService object
32+
filterID object
33+
WavelengthUnit object
34+
WavelengthUCD object
35+
PhotSystem object
36+
DetectorType object
37+
Band object
38+
Instrument object
39+
Facility object
40+
ProfileReference object
41+
CalibrationReference object
42+
Description object
43+
Comments object
4444
WavelengthMean float32 AA
4545
WavelengthEff float32 AA
4646
WavelengthMin float32 AA
@@ -51,14 +51,14 @@ with `~astroquery.svo_fps.SvoFpsClass.get_filter_index`:
5151
WavelengthPeak float32 AA
5252
WavelengthPhot float32 AA
5353
FWHM float32 AA
54-
PhotCalID object
55-
MagSys object
54+
PhotCalID object
55+
MagSys object
5656
ZeroPoint float32 Jy
57-
ZeroPointUnit object
58-
Mag0 float32
59-
ZeroPointType object
60-
AsinhSoft float32
61-
TrasmissionCurve object
57+
ZeroPointUnit object
58+
Mag0 float32
59+
ZeroPointType object
60+
AsinhSoft float32
61+
TrasmissionCurve object
6262
6363
There are options to downselect based on the minimum
6464
and maximum effective wavelength (``wavelength_eff_min``
@@ -80,19 +80,19 @@ is of the same form as that from `~astroquery.svo_fps.SvoFpsClass.get_filter_ind
8080
<Table masked=True length=11>
8181
name dtype unit
8282
-------------------- ------- ----
83-
FilterProfileService object
84-
filterID object
85-
WavelengthUnit object
86-
WavelengthUCD object
87-
PhotSystem object
88-
DetectorType object
89-
Band object
90-
Instrument object
91-
Facility object
92-
ProfileReference object
93-
CalibrationReference object
94-
Description object
95-
Comments object
83+
FilterProfileService object
84+
filterID object
85+
WavelengthUnit object
86+
WavelengthUCD object
87+
PhotSystem object
88+
DetectorType object
89+
Band object
90+
Instrument object
91+
Facility object
92+
ProfileReference object
93+
CalibrationReference object
94+
Description object
95+
Comments object
9696
WavelengthMean float32 AA
9797
WavelengthEff float32 AA
9898
WavelengthMin float32 AA
@@ -103,14 +103,14 @@ is of the same form as that from `~astroquery.svo_fps.SvoFpsClass.get_filter_ind
103103
WavelengthPeak float32 AA
104104
WavelengthPhot float32 AA
105105
FWHM float32 AA
106-
PhotCalID object
107-
MagSys object
106+
PhotCalID object
107+
MagSys object
108108
ZeroPoint float32 Jy
109-
ZeroPointUnit object
110-
Mag0 float32
111-
ZeroPointType object
112-
AsinhSoft float32
113-
TrasmissionCurve object
109+
ZeroPointUnit object
110+
Mag0 float32
111+
ZeroPointType object
112+
AsinhSoft float32
113+
TrasmissionCurve object
114114
115115
116116
Get transmission data for a specific Filter
@@ -127,7 +127,7 @@ transmission curve data using
127127
>>> data = SvoFps.get_transmission_data('2MASS/2MASS.H')
128128
>>> print(data)
129129
Wavelength Transmission
130-
AA
130+
AA
131131
---------- ------------
132132
12890.0 0.0
133133
13150.0 0.0

docs/vo_conesearch/validator.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Currently, only Cone Search validation is done using
2222
:func:`~astroquery.vo_conesearch.validator.validate.check_conesearch_sites`,
2323
which utilizes underlying `astropy.io.votable.validator` library.
2424

25-
A master list of all available Cone Search services is obtained from
25+
A main list of all available Cone Search services is obtained from
2626
``astroquery.vo_conesearch.validator.conf.conesearch_master_list``,
2727
which is a URL query to STScI VAO Registry by default. However, by default,
2828
only the ones in ``astroquery.vo_conesearch.validator.conf.conesearch_urls``
@@ -92,7 +92,7 @@ Each Cone Search service is a
9292
`~astroquery.vo_conesearch.vos_catalog.VOSDatabase`
9393
(see :ref:`vo-sec-client-cat-manip` and :ref:`vo-sec-client-db-manip`).
9494

95-
In the master registry, there are duplicate catalog titles with
95+
In the main registry, there are duplicate catalog titles with
9696
different access URLs, duplicate access URLs with different titles,
9797
duplicate catalogs with slightly different descriptions, etc.
9898

@@ -162,7 +162,7 @@ Examples
162162
^^^^^^^^
163163

164164
Validate default Cone Search sites with multiprocessing and write results
165-
in the current directory. Reading the master registry can be slow, so the
165+
in the current directory. Reading the main registry can be slow, so the
166166
default timeout is internally set to 60 seconds for it.
167167
In addition, all VO table warnings from the registry are suppressed because
168168
we are not trying to validate the registry itself but the services it contains:
@@ -209,7 +209,7 @@ This is *not* recommended unless you know exactly what you are doing:
209209
>>> with validator_conf.set_temp('noncritical_warnings', new_warns):
210210
... validate.check_conesearch_sites()
211211

212-
Validate *all* Cone Search services in the master registry
212+
Validate *all* Cone Search services in the main registry
213213
(this will take a while) and write results in ``'all'`` sub-directory:
214214

215215
>>> validate.check_conesearch_sites(destdir='./all', url_list=None)

frontpage/make_frontpage.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ echo ${CWD}
55
# ALL of these must pass!
66
cd .. && \
77
git checkout gh-pages && \
8-
git checkout master -- README.rst && \
8+
git checkout main -- README.rst && \
99
rst2html.py --stylesheet=stylesheets/styles.css,stylesheets/pygment_trac.css,stylesheets/normalize.css,stylesheets/ie.css --link-stylesheet README.rst index.html && \
1010
rm README.rst && \
1111
git reset && \
1212
git add index.html && \
1313
git commit -m "Index.html generated." && \
14-
git checkout master
14+
git checkout main
1515

16-
git checkout master
17-
git checkout master
18-
git checkout master
16+
git checkout main
17+
git checkout main
18+
git checkout main
1919

2020
echo $PWD
2121
echo $CWD

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ isolated_build = true
1515
# project-wide pinning of dependencies, e.g. if new versions of pytest do not
1616
# work correctly with pytest-astropy plugins. Most of the time the pinnings file
1717
# should be empty.
18-
pypi_filter = https://raw.githubusercontent.com/astropy/ci-helpers/master/pip_pinnings.txt
18+
pypi_filter = https://raw.githubusercontent.com/astropy/ci-helpers/main/pip_pinnings.txt
1919

2020
# Pass through the following environment variables which are needed for the CI
2121
passenv = HOME WINDIR CI

0 commit comments

Comments
 (0)