Skip to content

Commit 987289a

Browse files
committed
Fix mask not existent bug
1 parent 31ab5bf commit 987289a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyvisgrid/core/gridder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ def from_ms(
477477
)
478478
uvw = uvw[..., mask_idx - mask_idx[0]]
479479
else:
480+
mask = np.ones_like(tab.getcol("DATA_DESC_ID")).astype(bool)
480481
data = tab.getcol(data_colname)
481482
uvw = tab.getcol("UVW")[:2]
482483

0 commit comments

Comments
 (0)