Skip to content

Commit 0755510

Browse files
committed
black
1 parent 9c7fc0b commit 0755510

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

autoarray/inversion/inversion/abstract.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from astropy.table import Table
22
from astropy.io import fits
33
import copy
4-
54
import numpy as np
65
from scipy.linalg import block_diag
76
from scipy.sparse import csc_matrix
@@ -864,7 +863,6 @@ def fits_table_mapper_dict(self) -> Dict["AbstractMapper", fits.BinTableHDU]:
864863
mapper_list = self.cls_list_from(cls=AbstractMapper)
865864

866865
for mapper in mapper_list:
867-
868866
# Stack data for table: x, y, reconstruction, noise
869867
reconstruction = np.stack(
870868
[
@@ -883,12 +881,14 @@ def fits_table_mapper_dict(self) -> Dict["AbstractMapper", fits.BinTableHDU]:
883881
)
884882

885883
# Add metadata to table header
886-
pixels_table.meta["MESH"] = str(type(mapper.mapper_grids.source_plane_mesh_grid))
884+
pixels_table.meta["MESH"] = str(
885+
type(mapper.mapper_grids.source_plane_mesh_grid)
886+
)
887887

888888
# Convert Table to FITS HDU
889889
fits_table = fits.table_to_hdu(pixels_table)
890890

891891
# Store in dictionary
892892
fits_table_mapper_dict[mapper] = fits_table
893893

894-
return fits_table_mapper_dict
894+
return fits_table_mapper_dict

autoarray/mask/mask_1d_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ def native_index_for_slim_index_1d_from(
8080
native_index_for_slim_index_1d[slim_index] = x
8181
slim_index += 1
8282

83-
return native_index_for_slim_index_1d
83+
return native_index_for_slim_index_1d

0 commit comments

Comments
 (0)