Commits

Neal Schweighart authored 406e43631fe
Fixed issue with creating EVLAUV.UVFITS in bamboo runs
No tags

gcwrap/python/scripts/tests/test_req_task_importuvfits.py

Modified
65 65
66 66 #filepath = ctsys.resolve('EVLAUV.UVFITS')
67 67
68 68 #testlogpath = ctsys.resolve('testlog.log')
69 69 else:
70 70 dataroot = os.environ.get('CASAPATH').split()[0] + '/'
71 71 #cwd = os.getcwd()
72 72 if os.path.exists(os.environ.get('CASAPATH').split()[0] + '/data/casa-data-req/uvfits/3C219D_CAL.UVFITS'):
73 73 vlapath = dataroot + 'data/casa-data-req/uvfits/3C219D_CAL.UVFITS'
74 74 carmapath = dataroot + 'data/casa-data-req/uvfits/mirsplit.UVFITS'
75 + exportuvfits(vis=dataroot + 'data/casa-data-req/visibilities/evla/refim_Cband.G37line.ms', fitsfile='EVLAUV.UVFITS')
76 +
75 77 else:
76 78 vlapath = dataroot + 'casa-data-req/uvfits/3C219D_CAL.UVFITS'
77 79 carmapath = dataroot + 'casa-data-req/uvfits/mirsplit.UVFITS'
80 + exportuvfits(vis=dataroot + 'casa-data-req/visibilities/evla/refim_Cband.G37line.ms', fitsfile='EVLAUV.UVFITS')
78 81
79 - exportuvfits(vis=dataroot + 'data/casa-data-req/visibilities/evla/refim_Cband.G37line.ms', fitsfile='EVLAUV.UVFITS')
80 82 evlapath = 'EVLAUV.UVFITS'
81 83
82 84 logpath = casalog.logfile()
83 85
84 86 class importuvfits_test(unittest.TestCase):
85 87
86 88 def setUp(self):
87 89 if not CASA6:
88 90 default(importuvfits)
89 91

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

Add shortcut