Skip to content

Commit

Permalink
fixup: move around Notes for isCompatibleWith
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Apr 23, 2024
1 parent 4c63d55 commit eaf527b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/lsst/cell_coadds/_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ def __init__(self, filename: str) -> None:
def isCompatibleWith(cls, written_version: str, /) -> bool:
"""Check if the serialization version is compatible with the reader.
Notes
-----
This accepts the other version as a positional argument only.
Parameters
----------
written_version: `str`
Expand All @@ -152,8 +148,11 @@ def isCompatibleWith(cls, written_version: str, /) -> bool:
-------
compatible : `bool`
Whether the reader is compatible with ``written_version``.
"""
Notes
-----
This accepts the other version as a positional argument only.
"""
for min_version, max_version in zip(
cls.MINIMUM_FILE_FORMAT_VERSIONS,
cls.MAXIMUM_FILE_FORMAT_VERSIONS,
Expand Down

0 comments on commit eaf527b

Please sign in to comment.