Skip to content

Commit

Permalink
remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Jul 12, 2024
1 parent f6843e5 commit bbabf5f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hera_pspec/pspecdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ def add(self, dsets, wgts, labels=None, dsets_std=None, cals=None, cal_flag=True
for d, w, s in zip(dsets, wgts, dsets_std):
if not isinstance(d, UVData):
raise TypeError("Only UVData objects can be used as datasets.")
elif d.data_array[0].ndim > 2:
raise TypeError('UVData objects without future_array_shapes '
'cannot be used.')
if not isinstance(w, UVData) and w is not None:
raise TypeError("Only UVData objects (or None) can be used as "
"weights.")
Expand Down

0 comments on commit bbabf5f

Please sign in to comment.