Skip to content

Commit

Permalink
Tidy unneeded classes
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarDrew committed Mar 8, 2024
1 parent 99a82bb commit d1058ff
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions dkist/wcs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,7 @@ def evaluate(self, lon, lat, z, crpix, cdelt, lon_pole, **kwargs):
return self._map_transform(lon, lat, z, crpix=crpix, cdelt=cdelt, lon_pole=lon_pole, inverse=True)

Check warning on line 310 in dkist/wcs/models.py

View check run for this annotation

Codecov / codecov/patch

dkist/wcs/models.py#L310

Added line #L310 was not covered by tests


class BaseVaryingCelestialTransform2D(BaseVaryingCelestialTransform, ABC):
pass


class VaryingCelestialTransform2D(BaseVaryingCelestialTransform2D):
class VaryingCelestialTransform2D(BaseVaryingCelestialTransform):
n_inputs = 4
n_outputs = 2

Expand Down Expand Up @@ -363,11 +359,7 @@ def evaluate(self, lon, lat, z, q, crpix, cdelt, lon_pole, **kwargs):
return self._map_transform(lon, lat, z, q, crpix=crpix, cdelt=cdelt, lon_pole=lon_pole,

Check warning on line 359 in dkist/wcs/models.py

View check run for this annotation

Codecov / codecov/patch

dkist/wcs/models.py#L359

Added line #L359 was not covered by tests
inverse=True)

class BaseVaryingCelestialTransform3D(BaseVaryingCelestialTransform, ABC):
pass


class VaryingCelestialTransform3D(BaseVaryingCelestialTransform3D):
class VaryingCelestialTransform3D(BaseVaryingCelestialTransform):

Check warning on line 362 in dkist/wcs/models.py

View check run for this annotation

Codecov / codecov/patch

dkist/wcs/models.py#L362

Added line #L362 was not covered by tests
n_inputs = 5
n_outputs = 2

Expand Down

0 comments on commit d1058ff

Please sign in to comment.