Skip to content

Commit

Permalink
fix issue that breaks with ee/nn
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Jul 31, 2024
1 parent e255b65 commit 41dbed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera_cal/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ def _set_subslice(data_array, bl, this_waterfall):
# explicitly handle cross-polarized autos
if bl[0] == bl[1]:
# ensure that we're not looking at (pseudo-)stokes visibilities
if utils.polstr2num(bl[2]) < 0:
if polstr2num(bl[2], x_orientation=self.x_orientation) < 0:
if utils.split_pol(bl[2])[0] != utils.split_pol(bl[2])[1]:
pol_reversed_bl = utils.reverse_bl(bl)
if pol_reversed_bl not in dc.keys():
Expand Down

0 comments on commit 41dbed3

Please sign in to comment.