Commits

Sandra M Castro authored 030ac61dccd
Small fix to setUp of tests.

casatasks/tests/tasks/test_task_flagdata.py

Modified
418 418 os.system('cp -RH ' + \
419 419 ctsys_resolve(os.path.join(datapath,self.vis)) + \
420 420 ' ' + self.vis)
421 421
422 422 os.system('rm -rf ' + self.vis + '.flagversions')
423 423 self.unflag_ms()
424 424
425 425 def setUp_weightcol(self):
426 426 '''Small MS with two rows and WEIGHT column'''
427 427
428 + inpvis = "combine-1-timestamp-2-SPW-no-WEIGHT_SPECTRUM-Same-Exposure.ms"
428 429 self.vis = "msweight.ms"
429 430
430 431 if os.path.exists(self.vis):
431 432 print("The MS is already around, just unflag")
432 433 else:
433 434 print("Moving data...")
434 - inpvis = "combine-1-timestamp-2-SPW-no-WEIGHT_SPECTRUM-Same-Exposure.ms"
435 435 os.system('cp -RH '+os.path.join(datapath,inpvis)+' ' + self.vis)
436 436
437 437 os.system('rm -rf ' + self.vis + '.flagversions')
438 438 self.unflag_ms()
439 439
440 440 def setUp_tbuff(self):
441 441 '''Small ALMA MS with low-amp points to be flagged with tbuff parameter'''
442 442
443 443 self.vis = 'uid___A002_X72c4aa_X8f5_scan21_spw18_field2_corrXX.ms'
444 444 if os.path.exists(self.vis):

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

Add shortcut