Skip to content

Commit

Permalink
Remove whitespace that black/ruff no longer allows
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Nov 11, 2023
1 parent 724b7c3 commit e87f8d9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions chandra_aca/aca_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def _operator_factory(operator, inplace=False):
inplace_op = op if inplace else getattr(np.ndarray, "__i{}__".format(operator))

def _operator(self, other):

if isinstance(other, ACAImage) and (other._aca_coords or self._aca_coords):
# If inplace then work on the original self, else use a copy
out = self if inplace else self.copy()
Expand All @@ -61,7 +60,6 @@ def _operator(self, other):
other.col0 + sz_c1 - self.col0,
]
):

dr = other.row0 - self.row0
dc = other.col0 - self.col0

Expand Down Expand Up @@ -133,7 +131,6 @@ def aca(self):
return obj

def __new__(cls, *args, **kwargs):

meta = kwargs.pop("meta", {})

# Set default row0 and col0 to 0 (if not already in meta), and
Expand Down Expand Up @@ -462,7 +459,6 @@ def flicker_update(self, dt, use_numba=True):
self._flicker_update_vectorized(dt)

def _flicker_update_vectorized(self, dt):

self.flicker_times[self.flicker_mask_vals] -= dt

# When flicker_times < 0 that means a flicker occurs
Expand Down
1 change: 0 additions & 1 deletion chandra_aca/tests/test_maude_decom.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ def test_dynbgd_decom():
raw_frames[key], combine=True, start=start, stop=stop
)
for slot in range(8):

assert np.all(
partial_packets[key][
"TIME", "VCDUCTR", "IMGTYPE", "BGDTYP", "PIXTLM"
Expand Down
1 change: 0 additions & 1 deletion chandra_aca/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def yagzag_to_pixels(yang, zang, allow_bad=False, pix_zero_loc="edge"):


def _poly_convert(y, z, coeffs, t_aca=None):

# Convert to avoid overflow errors with the polys on int32
y = np.asarray(y, dtype=np.float64)
z = np.asarray(z, dtype=np.float64)
Expand Down

0 comments on commit e87f8d9

Please sign in to comment.