Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Dec 9, 2024
1 parent bbfa14a commit d0299d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drizzle/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def add_image(self, data, exptime, pixmap, data2=None, scale=1.0,
else:
shapes2 = set()
ninputs2 = len(data2)
data2 = [d for d in data2]
data2 = list(data2)
for k, d in enumerate(data2):
if d is None or d.size == 0:
data2[k] = None

Check warning on line 660 in drizzle/resample.py

View check run for this annotation

Codecov / codecov/patch

drizzle/resample.py#L660

Added line #L660 was not covered by tests
Expand Down

0 comments on commit d0299d3

Please sign in to comment.