diff --git a/resolve/data/observation.py b/resolve/data/observation.py index 38725535af8c288b22b3c5790c9f82c63ef417ac..122ffa04832e0cb3f8b539645646b2c9e327d913 100644 --- a/resolve/data/observation.py +++ b/resolve/data/observation.py @@ -452,7 +452,7 @@ class Observation(BaseObservation): ind = np.logical_and(ant1 == ant1_index, ant2 == ant2_index) wgt = self._weight.copy() wgt[:, ind] = 0. - print(f"INFO: Flag baseline {ant1_index}-{ant2_index}, {np.sum(ind)}/{obs.nrows} rows flagged.") + print(f"INFO: Flag baseline {ant1_index}-{ant2_index}, {np.sum(ind)}/{self.nrow} rows flagged.") return Observation(self._antpos, self._vis, wgt, self._polarization, self._freq, self._direction) @property