Commits
165 165 | first_run = tb.nrows() |
166 166 | tb.close() |
167 167 | |
168 168 | appendantab(vis=append_data, outvis="secondAppend.ms", antab=evn_antab, overwrite=False, append_tsys=False, append_gc=True) |
169 169 | # Get the number of rows after consecutive runs |
170 170 | tb.open("secondAppend.ms/GAIN_CURVE") |
171 171 | next_run = tb.nrows() |
172 172 | tb.close() |
173 173 | |
174 174 | #print("FIRST: ", first_run, " AFTER: ", next_run) |
175 - | self.assertTrue(next_run > first_run, msg="append failed and second run remains unchanged: ", next_run, " is not greater than ", first_run) |
175 + | self.assertTrue(next_run > first_run) |
176 176 | |
177 177 | |
178 178 | |
179 179 | def test_Overwrite(self): |
180 180 | |
181 181 | # Don't overwrite the data on the first run |
182 182 | appendantab(vis=data_copy, outvis=append_data, antab=evn_antab, overwrite=False, append_tsys=True, append_gc=False) |
183 183 | |
184 184 | # Remove subtables so they are re-written in the overwrite |
185 185 | shutil.rmtree(append_data + "/SYSCAL") |