Commits

Neal Schweighart authored fb0c288d8a9
removed msg causing error, not sure why settrop had failure on recent build

casatasks/tests/tasks/test_task_appendantab.py

Modified
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")

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut