Skip to content

Commit 78274f5

Browse files
keflavichbsipocz
authored andcommitted
can't have both doctest-remote-data and code-block directives
1 parent 1f64184 commit 78274f5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

docs/splatalogue/splatalogue.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ size of the printout and assist with doctests; it is not needed as the default
9797
``pprint`` behavior is to fill the terminal width)
9898

9999
.. doctest-remote-data::
100-
.. code-block:: python
101100

102101
>>> from astropy import units as u
103102
>>> CO1to0 = Splatalogue.query_lines(115.271*u.GHz, 115.273*u.GHz)
@@ -134,7 +133,6 @@ in the 1 mm band, but you don't know its exact frequency (after all, why else wo
134133
this query works:
135134

136135
.. doctest-remote-data::
137-
.. code-block:: python
138136

139137
>>> CO2to1 = Splatalogue.query_lines(1*u.mm, 2*u.mm, chemical_name=" CO ")
140138
>>> CO2to1.pprint(max_width=100)
@@ -154,7 +152,6 @@ Of course, there's some noise in there: both the vibrationally excited line and
154152
Start by thinning out the line lists used:
155153

156154
.. doctest-remote-data::
157-
.. code-block:: python
158155

159156
>>> CO2to1 = Splatalogue.query_lines(1*u.mm, 2*u.mm, chemical_name=" CO ",only_NRAO_recommended=True)
160157
>>> CO2to1.pprint(max_width=100)
@@ -166,7 +163,6 @@ Start by thinning out the line lists used:
166163
Then get rid of the vibrationally excited line by setting an energy upper limit in Kelvin:
167164

168165
.. doctest-remote-data::
169-
.. code-block:: python
170166

171167
>>> CO2to1 = Splatalogue.query_lines(1*u.mm, 2*u.mm, chemical_name=" CO ",
172168
... only_NRAO_recommended=True,
@@ -187,7 +183,6 @@ these symbols (Hα, Hβ, Hγ, Hδ, Hε, Hζ), even though they will show up as
187183
``α`` in the ASCII table. For example:
188184

189185
.. doctest-remote-data::
190-
.. code-block:: python
191186

192187
>>> ha_result = Splatalogue.query_lines(84*u.GHz, 115*u.GHz, chemical_name='')
193188
>>> ha_result.pprint(max_width=100)
@@ -201,7 +196,6 @@ these symbols (Hα, Hβ, Hγ, Hδ, Hε, Hζ), even though they will show up as
201196
You could also search by specifying the line list
202197

203198
.. doctest-remote-data::
204-
.. code-block:: python
205199

206200
>>> recomb_result = Splatalogue.query_lines(84*u.GHz, 85*u.GHz, line_lists=['Recomb'])
207201
>>> recomb_result.pprint(max_width=100)
@@ -225,7 +219,6 @@ is not respected; we include it here as a demonstration in the hope that that er
225219
be fixed)
226220

227221
.. doctest-remote-data::
228-
.. code-block:: python
229222

230223
>>> S = Splatalogue(energy_max=500,
231224
... energy_type='eu_k',energy_levels=['el4'],

0 commit comments

Comments
 (0)