Skip to content

Commit

Permalink
docs(quickstart): 🚧 Tweak example classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Aug 16, 2024
1 parent 3bba90c commit 5a8ad41
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ class as ``'GMOS'`` and ``'SCIENCE'``:

.. code-block:: python
class GMOSScienceAstroDataTagged(GMOSScienceAstroData):
# Let's remove the GMOSScienceAstroData class from the factory to avoid conflicts.
factory.remove_class(GMOSScienceAstroData)
class GMOSAstroDataTagged(GMOSAstroData):
"""A class for GMOS science data with tags.
Note: This still has all the methods from GMOSScienceAstroData! It is a
Expand Down Expand Up @@ -419,7 +422,7 @@ class as ``'GMOS'`` and ``'SCIENCE'``:
else:
return TagSet(['SPECT'])
factory.add_class(GMOSScienceAstroDataTagged)
factory.add_class(GMOSAstroDataTagged)
These tags were taken from the |DRAGONS| GMOS package, and exemplify some
Expand Down

0 comments on commit 5a8ad41

Please sign in to comment.