Skip to content

Commit 3fbce5d

Browse files
mwcraigCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent e72bb76 commit 3fbce5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/testing_implementation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Astronomical Image Display API (AIDA). There are two things you need to test:
88

99
1. An instance of your class should pass the test
1010
``isinstance(your_instance, ImageDisplayInterface)``.
11-
This ensures that your class has all of the attributes and methods in the interhave.
11+
This ensures that your class has all of the attributes and methods in the interface.
1212
2. To test the functionality of your implementation, we provide the class
1313
:py:class:`~astro_image_display_api.api_test.ImageAPITest`.
1414
To use it, create a subclass of :py:class:`~astro_image_display_api.api_test.ImageAPITest` in your test suite, and define

src/astro_image_display_api/interface_definition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_cuts(self, image_label: str | None = None) -> BaseInterval:
9393
9494
Parameters
9595
----------
96-
image_label : ptional
96+
image_label : optional
9797
The label of the image to get the cuts for. If not given and there is
9898
only one image loaded, the cuts for that image are returned. If there are
9999
multiple images and no label is provided, an error is raised.

0 commit comments

Comments
 (0)