Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian committed Feb 5, 2025
1 parent 4164455 commit 8a14daf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/adam_core/coordinates/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

@jit
def _cartesian_to_spherical(
coords_cartesian: Union[np.ndarray, jnp.ndarray]
coords_cartesian: Union[np.ndarray, jnp.ndarray],
) -> jnp.ndarray:
"""
Convert a single Cartesian coordinate to a spherical coordinate.
Expand Down Expand Up @@ -179,7 +179,7 @@ def cartesian_to_spherical(coords_cartesian: np.ndarray) -> np.ndarray:

@jit
def _spherical_to_cartesian(
coords_spherical: Union[np.ndarray, jnp.ndarray]
coords_spherical: Union[np.ndarray, jnp.ndarray],
) -> jnp.ndarray:
"""
Convert a single spherical coordinate to a Cartesian coordinate.
Expand Down Expand Up @@ -258,7 +258,7 @@ def _spherical_to_cartesian(


def spherical_to_cartesian(
coords_spherical: Union[np.ndarray, jnp.ndarray]
coords_spherical: Union[np.ndarray, jnp.ndarray],
) -> jnp.ndarray:
"""
Convert spherical coordinates to Cartesian coordinates.
Expand Down
2 changes: 1 addition & 1 deletion src/adam_core/orbits/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def calc_orbit_class(
elements: Union[KeplerianCoordinates, CometaryCoordinates]
elements: Union[KeplerianCoordinates, CometaryCoordinates],
) -> np.ndarray:
"""
Calculate the orbital class for each Keplerian or Cometary orbit.
Expand Down

0 comments on commit 8a14daf

Please sign in to comment.