Skip to content

Commit

Permalink
Rename calibrate recipe to calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 13, 2023
1 parent a1db05f commit 15a3e6d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/sphinx/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ A list of available recipes can be retrieved as ::

>>> from gort.recipes import recipes
>>> recipes
{'calibrate': gort.recipes.calibrations.CalibrationRecipe,
{'calibration': gort.recipes.calibration.CalibrationRecipe,
'startup': gort.recipes.operations.StartupRecipe,
'shutdown': gort.recipes.operations.ShutdownRecipe
...
Expand Down Expand Up @@ -81,7 +81,7 @@ If you are closing the dome temporarily, you may not want to disable the telesco

await g.shutdown(park_telescopes=False)

``calibrate``
^^^^^^^^^^^^^
``calibration``
^^^^^^^^^^^^^^^

Runs spectrograph calibration sequences. See :ref:`calibrations`.
2 changes: 1 addition & 1 deletion src/gort/devices/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from gort.exceptions import ErrorCodes, GortError, GortSpecError
from gort.exposure import Exposure
from gort.gort import GortDevice, GortDeviceSet
from gort.recipes.calibrations import CalibrationRecipe
from gort.recipes.calibration import CalibrationRecipe
from gort.tools import is_interactive, is_notebook


Expand Down
2 changes: 1 addition & 1 deletion src/gort/recipes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
from __future__ import annotations

from .base import *
from .calibrations import *
from .calibration import *
from .operations import *
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# @Author: José Sánchez-Gallego ([email protected])
# @Date: 2023-08-13
# @Filename: calibrations.py
# @Filename: calibration.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)

from __future__ import annotations
Expand All @@ -29,7 +29,7 @@
class CalibrationRecipe(BaseRecipe):
"""Runs a calibration sequence."""

name = "calibrate"
name = "calibration"

async def recipe(
self,
Expand Down

0 comments on commit 15a3e6d

Please sign in to comment.