Skip to content

Commit 624e02a

Browse files
committed
fix warning formatting
1 parent 66eb299 commit 624e02a

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

spectral_cube/spectral_cube.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2453,9 +2453,10 @@ def reproject(self, header, order='bilinear'):
24532453
If you want to reproject a cube both spatially and spectrally, you need
24542454
to use `spectral_interpolate` as well.
24552455
2456-
.. warning:: The current implementation of ``reproject`` requires that the
2457-
whole cube be loaded into memory. Issue #506 notes that this is a
2458-
problem, and it is on our to-do list to fix.
2456+
.. warning::
2457+
The current implementation of ``reproject`` requires that the whole
2458+
cube be loaded into memory. Issue #506 notes that this is a
2459+
problem, and it is on our to-do list to fix.
24592460
24602461
Parameters
24612462
----------
@@ -3016,9 +3017,10 @@ def convolve_to(self, beam, convolve=convolution.convolve_fft, update_function=N
30163017
"""
30173018
Convolve each channel in the cube to a specified beam
30183019
3019-
.. warning:: The current implementation of ``convolve_to`` creates an
3020-
in-memory copy of the whole cube to store the convolved data. Issue
3021-
#506 notes that this is a problem, and it is on our to-do list to fix.
3020+
.. warning::
3021+
The current implementation of ``convolve_to`` creates an in-memory
3022+
copy of the whole cube to store the convolved data. Issue #506
3023+
notes that this is a problem, and it is on our to-do list to fix.
30223024
30233025
Parameters
30243026
----------
@@ -3739,9 +3741,10 @@ def convolve_to(self, beam, allow_smaller=False,
37393741
"""
37403742
Convolve each channel in the cube to a specified beam
37413743
3742-
.. warning:: The current implementation of ``convolve_to`` creates an
3743-
in-memory copy of the whole cube to store the convolved data. Issue
3744-
#506 notes that this is a problem, and it is on our to-do list to fix.
3744+
.. warning::
3745+
The current implementation of ``convolve_to`` creates an in-memory
3746+
copy of the whole cube to store the convolved data. Issue #506
3747+
notes that this is a problem, and it is on our to-do list to fix.
37453748
37463749
.. warning::
37473750
Note that if there is any misaligment between the cube's spatial

0 commit comments

Comments
 (0)