From 41dbed34f2c8decb46b303c6f7c9566b1477919e Mon Sep 17 00:00:00 2001 From: Josh Dillon Date: Wed, 31 Jul 2024 10:51:36 -0700 Subject: [PATCH] fix issue that breaks with ee/nn --- hera_cal/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hera_cal/io.py b/hera_cal/io.py index 6bd38c480..03d5eb1a7 100644 --- a/hera_cal/io.py +++ b/hera_cal/io.py @@ -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():