Build: #2 failed

Job: Test Tasks RHEL7 failed

Stages & jobs

  1. Default Stage

  2. Publish

  3. Create Upload Plan Branch

Full log: Test case result

The below summarizes the result of the test "Full log" in build 2 of CASA - Casa 6 Dev Test Full - CAS-14008 - Test Tasks RHEL7. View test case history
Description
Full log
Test class
test_task_mstransform
Method
full log
Duration
24 mins
Status
Failed (New Failure)

Error Log

.2023-01-11 18:30:44	SEVERE	mstransform::::casa	Task mstransform raised an exception of class RuntimeError with the following message: MSSelectionNullSelection : The selected table has zero rows.
..2023-01-11 18:30:50	WARN	MSTransformManager::checkDataColumnsAvailable	Requested to make virtual MODEL_DATA column real but SOURCE_MODEL column is not present in SOURCE sub-table
..........2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Incomplete coverage of combined SPW starting at timestamp 16-Feb-2003/22:13:50.0, baseline ( 1, 23 )
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	In this and further affected rows, the data arrays will be padded with zeros and corresponding channels flagged.
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 660 up to 660. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 710 up to 710. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 830 up to 830. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 860 up to 860. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 910 up to 910. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 1035 up to 1035. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 1085 up to 1085. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 0) 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 1385 up to 1385. Corresponding visibilities will be flagged: 
2023-01-11 18:32:11	WARN	SubMS::combineSpws()+	(45, 1) 
2023-01-11 18:32:12	WARN	SubMS::combineSpws()	Averaging failed for the following channel/correllation pairs from output row 1460 up to 1460. Corresponding visibilities will be flagged: 
2023-01-11 18:32:12	WARN	SubMS::combineSpws()+	(45, 1) 
2023-01-11 18:32:12	WARN	SubMS::combineSpws()	Incomplete coverage of combined SPW in 4 of 1891 output rows.
.2023-01-11 18:32:15	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:32:15	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:32:15	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:32:15	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:32:15	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:32:15	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class ValueError with the following message: Number of chanbin is different from the number of spw
......2023-01-11 18:33:15	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
..2023-01-11 18:33:30	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
.2023-01-11 18:33:34	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
...2023-01-11 18:33:47	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
..s2023-01-11 18:33:58	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:34:00	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:34:04	WARN	MSTransformManager::combineCubeOfData	Detected combination of SPWs with different EXPOSURE 
2023-01-11 18:34:04	WARN	MSTransformManager::combineCubeOfData+	Will use WEIGHT_SPECTRUM to combine them 
..s....s2023-01-11 18:34:33	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
.2023-01-11 18:34:34	WARN	MSTransformManager::checkDataColumnsToFill	CORRECTED_DATA column requested but not available in input MS 
2023-01-11 18:34:34	SEVERE	mstransform::::casa	Task mstransform raised an exception of class RuntimeError with the following message: Currently the option 'combinespws' is only supported when the number of channels is the same for all the spw's selected. One of the SPWs selected has 3840 channels, but another selected SPW has 128 channels.
.2023-01-11 18:34:34	WARN	MSTransformManager::checkDataColumnsToFill	CORRECTED_DATA column requested but not available in input MS 
2023-01-11 18:34:34	SEVERE	mstransform::::casa	Task mstransform raised an exception of class RuntimeError with the following message: Currently the option 'combinespws' is only supported when the number of channels is the same for all the spw's selected. One of the SPWs selected has 3840 channels, but another selected SPW has 128 channels.
.2023-01-11 18:34:34	WARN	MSTransformManager::checkDataColumnsToFill	CORRECTED_DATA column requested but not available in input MS 
2023-01-11 18:34:34	SEVERE	mstransform::::casa	Task mstransform raised an exception of class RuntimeError with the following message: Currently the option 'combinespws' is only supported when the number of channels is the same for all the spw's selected. One of the SPWs selected has 128 channels, but another selected SPW has 3840 channels.
.2023-01-11 18:34:35	WARN	MSTransformManager::checkDataColumnsToFill	CORRECTED_DATA column requested but not available in input MS 
2023-01-11 18:34:35	SEVERE	mstransform::::casa	Task mstransform raised an exception of class RuntimeError with the following message: Currently the option 'combinespws' is only supported when the number of channels is the same for all the spw's selected. One of the SPWs selected has 3840 channels, but another selected SPW has 128 channels.
.............2023-01-11 18:38:50	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E.2023-01-11 18:39:12	WARN	importasdm::::casa	Ephemeris is in ICRS instead of J2000 frame.
2023-01-11 18:39:12	WARN	importasdm::::casa+	Entry in SOURCE table will be converted to J2000
2023-01-11 18:39:12	WARN	importasdm::::casa	Ephemeris is in ICRS instead of J2000 frame.
2023-01-11 18:39:12	WARN	importasdm::::casa+	Entry in SOURCE table will be converted to J2000
./usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py:285: ResourceWarning: unclosed file <_io.TextIOWrapper name='mstransform_reference/ngc5921_callib.txt' mode='r' encoding='UTF-8'>
  mycallib.read(callib)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
...2023-01-11 18:40:47	WARN	MSTransformRegridder::calcChanFreqs	 *** Requested new channel width (1182.5 Hz) is smaller than smallest original channel width
2023-01-11 18:40:47	WARN	MSTransformRegridder::calcChanFreqs+	     which is 61039.5 Hz
2023-01-11 18:40:47	WARN	MSTransformRegridder::calcChanFreqs+	     or 51.6189 m/s
2023-01-11 18:40:47	SEVERE	MSTransformRegridder::calcChanFreqs	calcChanFreqs failed, check input start and width parameters
2023-01-11 18:40:47	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class RuntimeError with the following message: 2023-01-11 18:40:47	SEVERE	MSTransformRegridder::calcChanFreqs	calcChanFreqs failed, check input start and width parameters
.s2023-01-11 18:40:53	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
.s2023-01-11 18:40:59	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
...........s...2023-01-11 18:42:38	WARN	MSTransformRegridder::convertGridPars	Invalid velocity type RADIO, setting type to "radio"
....2023-01-11 18:43:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:14	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:20	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:35	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:40	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:40	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:40	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:40	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:40	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:42	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:43	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:44	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:45	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:46	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:47	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:48	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:43:50	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E....2023-01-11 18:45:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:45:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:45:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:45:13	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E....2023-01-11 18:46:00	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:46:00	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:46:01	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:46:01	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E....ssssssssssssssss2023-01-11 18:46:46	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E.2023-01-11 18:47:26	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:47:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:47:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:47:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:47:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:47:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:47:27	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E...2023-01-11 18:48:04	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:48:04	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E..2023-01-11 18:49:18	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:18	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:19	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:19	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:19	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:19	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:19	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E2023-01-11 18:49:19	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E....2023-01-11 18:50:52	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E.sss2023-01-11 18:51:15	WARN	importasdm::::casa	Ephemeris is in ICRS instead of J2000 frame.
2023-01-11 18:51:15	WARN	importasdm::::casa+	Entry in SOURCE table will be converted to J2000
2023-01-11 18:51:15	WARN	importasdm::::casa	Ephemeris is in ICRS instead of J2000 frame.
2023-01-11 18:51:15	WARN	importasdm::::casa+	Entry in SOURCE table will be converted to J2000
.2023-01-11 18:51:20	SEVERE	ParallelDataHelper::::casa	Task mstransform raised an exception of class AttributeError with the following message: module 'numpy' has no attribute 'int'
E.........2023-01-11 18:52:42	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
..2023-01-11 18:52:59	WARN	MSTransformManager::setup	There is only one selected SPW, no need to combine 
......2023-01-11 18:54:25	WARN	MSTransformManager::parseTimeAvgParams	Operating with ALMA data, automatically adding state to timespan 
2023-01-11 18:54:25	WARN	MSTransformManager::parseTimeAvgParams+	In order to remove sub-scan boundaries which limit time average to 30s 
....
======================================================================
ERROR: test_freqavg1 (__main__.test_FreqAvg)
mstranform: Average 20 channels of one spw
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1167, in test_freqavg1
    mstransform(vis=self.vis, outputvis=self.outputms, spw='2', chanaverage=True, chanbin=20)
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_freqavg11 (__main__.test_FreqAvg)
mstransform: Automatically convert numpy type to Python type
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1234, in test_freqavg11
    mstransform(vis=self.vis, outputvis=self.outputms, spw='10', chanaverage=True,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_freqavg2 (__main__.test_FreqAvg)
mstranform: Select a few channels to average from one spw
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1181, in test_freqavg2
    mstransform(vis=self.vis, outputvis=self.outputms, spw='2:10~20', chanaverage=True, chanbin=2)
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_freqavg3 (__main__.test_FreqAvg)
mstranform: Average all channels of one spw
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1190, in test_freqavg3
    mstransform(vis=self.vis, outputvis=self.outputms, spw='23', chanaverage=True, chanbin=128)
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_freqavg4 (__main__.test_FreqAvg)
mstranform: Average using different bins for several spws
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1199, in test_freqavg4
    mstransform(vis=self.vis, outputvis=self.outputms, spw='10,12,20', chanaverage=True,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_combineSPWAndChanAvgWithWeightSpectrum (__main__.test_WeightSpectrum)
mstransform: Combine SPWs and channel average using WEIGHT_SPECTRUM
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1682, in test_combineSPWAndChanAvgWithWeightSpectrum
    mstransform(vis=self.vis,outputvis=self.outvis,datacolumn="DATA",combinespws=True,regridms=True,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_combineSPWDiffExpAndChanAvgWithWeightSpectrum (__main__.test_WeightSpectrum)
mstransform: Combine SPWs with different exposure and channel average using WEIGHT_SPECTRUM
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 1702, in test_combineSPWDiffExpAndChanAvgWithWeightSpectrum
    mstransform(vis=self.vis,outputvis=self.outvis,datacolumn="DATA",combinespws=True,regridms=True,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeaverage_and_channel_average (__main__.test_multiple_transformations)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 2114, in test_timeaverage_and_channel_average
    mstransform(vis=self.vis,outputvis=self.outvis,datacolumn='DATA',timeaverage=True,timebin='2s',chanaverage=True,chanbin=2)
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_2_steps_vs_1_step_all (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of chan/time average ALL applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4301, in test_chanavg_timeavg_2_steps_vs_1_step_all
    mstransform(vis=self.vis,outputvis=self.auxvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_2_steps_vs_1_step_corrected (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of chan/time average CORRECTED applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4118, in test_chanavg_timeavg_2_steps_vs_1_step_corrected
    mstransform(vis=self.vis,outputvis=self.auxvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_2_steps_vs_1_step_data (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of chan/time average DATA applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4191, in test_chanavg_timeavg_2_steps_vs_1_step_data
    mstransform(vis=self.vis,outputvis=self.auxvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_2_steps_vs_1_step_model (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of chan/time average MODEL applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4264, in test_chanavg_timeavg_2_steps_vs_1_step_model
    mstransform(vis=self.vis,outputvis=self.auxvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_2_steps_vs_1_step_all (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of time/chan average ALL applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4343, in test_timeavg_chanavg_2_steps_vs_1_step_all
    mstransform(vis=self.auxvis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_2_steps_vs_1_step_corrected (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of time/chan average CORRECTED applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4087, in test_timeavg_chanavg_2_steps_vs_1_step_corrected
    mstransform(vis=self.auxvis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_2_steps_vs_1_step_data (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of time/chan average DATA applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4161, in test_timeavg_chanavg_2_steps_vs_1_step_data
    mstransform(vis=self.auxvis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_2_steps_vs_1_step_model (__main__.test_spectrum_transformations_2_steps_vs_1_step)
mstransform: Check that the result of time/chan average MODEL applied in 1 step is the same as applied in 2 steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4233, in test_timeavg_chanavg_2_steps_vs_1_step_model
    mstransform(vis=self.auxvis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_all (__main__.test_spectrum_transformations_chanavg_useWeightSpectrum_false_vs_true)
mstransform: When there are no input SPECTRUM cols chan avg result is the same regardless of useWeightSpectrum because VI/VB fills a cte. weightSpectrum/sigmaSpectrum across channels
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4472, in test_chanavg_useWeightSpectrum_false_vs_true_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_corrected (__main__.test_spectrum_transformations_chanavg_useWeightSpectrum_false_vs_true)
mstransform: When there are no input SPECTRUM cols chan avg result is the same regardless of useWeightSpectrum because VI/VB fills a cte. weightSpectrum/sigmaSpectrum across channels
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4397, in test_chanavg_useWeightSpectrum_false_vs_true_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_data (__main__.test_spectrum_transformations_chanavg_useWeightSpectrum_false_vs_true)
mstransform: When there are no input SPECTRUM cols chan avg result is the same regardless of useWeightSpectrum because VI/VB fills a cte. weightSpectrum/sigmaSpectrum across channels
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4422, in test_chanavg_useWeightSpectrum_false_vs_true_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_model (__main__.test_spectrum_transformations_chanavg_useWeightSpectrum_false_vs_true)
mstransform: When there are no input SPECTRUM cols chan avg result is the same regardless of useWeightSpectrum because VI/VB fills a cte. weightSpectrum/sigmaSpectrum across channels
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4447, in test_chanavg_useWeightSpectrum_false_vs_true_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_spectrum_transformations_flagged_average_all (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5456, in test_chanavg_spectrum_transformations_flagged_average_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_spectrum_transformations_flagged_average_corrected (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5363, in test_chanavg_spectrum_transformations_flagged_average_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_spectrum_transformations_flagged_average_data (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5394, in test_chanavg_spectrum_transformations_flagged_average_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_spectrum_transformations_flagged_average_model (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5425, in test_chanavg_spectrum_transformations_flagged_average_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_spectrum_transformations_flagged_average_all (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5710, in test_chanavg_timeavg_spectrum_transformations_flagged_average_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_spectrum_transformations_flagged_average_corrected (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5611, in test_chanavg_timeavg_spectrum_transformations_flagged_average_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_spectrum_transformations_flagged_average_data (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5644, in test_chanavg_timeavg_spectrum_transformations_flagged_average_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_spectrum_transformations_flagged_average_model (__main__.test_spectrum_transformations_flagged_average)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5677, in test_chanavg_timeavg_spectrum_transformations_flagged_average_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_mean_all (__main__.test_spectrum_transformations_mean)
mstransform: Check that after chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3156, in test_chanavg_mean_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_mean_corrected (__main__.test_spectrum_transformations_mean)
mstransform: Check that after chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 2972, in test_chanavg_mean_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_mean_data (__main__.test_spectrum_transformations_mean)
mstransform: Check that after chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3034, in test_chanavg_mean_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_mean_model (__main__.test_spectrum_transformations_mean)
mstransform: Check that after chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3095, in test_chanavg_mean_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_mean_all (__main__.test_spectrum_transformations_mean)
mstransform: Check that after time/chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3196, in test_timeavg_chanavg_mean_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_mean_corrected (__main__.test_spectrum_transformations_mean)
mstransform: Check that after time/chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3013, in test_timeavg_chanavg_mean_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_mean_data (__main__.test_spectrum_transformations_mean)
mstransform: Check that after time/chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3074, in test_timeavg_chanavg_mean_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_mean_model (__main__.test_spectrum_transformations_mean)
mstransform: Check that after time/chan avg WEIGHT/SIGMA is equivalent to the mean of the unflagged WEIGHT_SPECTRUM samples
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3135, in test_timeavg_chanavg_mean_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_all_vs_data_and_corrected (__main__.test_spectrum_transformations_multiple_col)
mstransform: Check that the result of chan avg ALL is equivalent to the results of DATA/CORRECTED stand-alone
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4520, in test_chanavg_all_vs_data_and_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_all_vs_data_and_corrected (__main__.test_spectrum_transformations_multiple_col)
mstransform: Check that the result of time+chan avg ALL is equivalent to the results of DATA/CORRECTED stand-alone
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4598, in test_timeavg_chanavg_all_vs_data_and_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_sigma_from_weight_corrected (__main__.test_spectrum_transformations_sigma_from_weight)
mstransform: Check that after chan avg CORRECTED SIGMA=1/sqrt(WEIGHT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3830, in test_chanavg_sigma_from_weight_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_sigma_from_weight_data (__main__.test_spectrum_transformations_sigma_from_weight)
mstransform: Check that after chan avg DATA SIGMA=1/sqrt(WEIGHT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3906, in test_chanavg_sigma_from_weight_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_sigma_from_weight_model (__main__.test_spectrum_transformations_sigma_from_weight)
mstransform: Check that after chan avg MODEL SIGMA=1/sqrt(WEIGHT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3982, in test_chanavg_sigma_from_weight_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_sigma_from_weight_corrected (__main__.test_spectrum_transformations_sigma_from_weight)
mstransform: Check that after time + chan avg CORRECTED SIGMA=1/sqrt(WEIGHT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3880, in test_timeavg_chanavg_sigma_from_weight_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_sigma_from_weight_data (__main__.test_spectrum_transformations_sigma_from_weight)
mstransform: Check that after time + chan avg DATA SIGMA=1/sqrt(WEIGHT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 3956, in test_timeavg_chanavg_sigma_from_weight_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_timeavg_chanavg_sigma_from_weight_model (__main__.test_spectrum_transformations_sigma_from_weight)
mstransform: Check that after time + chan avg MODEL SIGMA=1/sqrt(WEIGHT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4032, in test_timeavg_chanavg_sigma_from_weight_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_corrected_vs_data_with_sigma_unit (__main__.test_spectrum_transformations_sigma_unit)
mstransform: Check that the result of chan avg CORRECTED is the same as time avg DATA with sigma 1 multiplied by input WEIGHT
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4938, in test_chanavg_corrected_vs_data_with_sigma_unit
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_data_vs_model_with_sigma_unit (__main__.test_spectrum_transformations_sigma_unit)
mstransform: Check that the result of chan avg DATA with sigma 1 is the same as averaging MODEL
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4873, in test_chanavg_data_vs_model_with_sigma_unit
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_useWeightSpectrum_false_vs_true_all (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5310, in test_chanavg_timeavg_useWeightSpectrum_false_vs_true_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_useWeightSpectrum_false_vs_true_corrected (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5220, in test_chanavg_timeavg_useWeightSpectrum_false_vs_true_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_useWeightSpectrum_false_vs_true_data (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5250, in test_chanavg_timeavg_useWeightSpectrum_false_vs_true_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_timeavg_useWeightSpectrum_false_vs_true_model (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5280, in test_chanavg_timeavg_useWeightSpectrum_false_vs_true_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_all (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5080, in test_chanavg_useWeightSpectrum_false_vs_true_all
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_corrected (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4996, in test_chanavg_useWeightSpectrum_false_vs_true_corrected
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_data (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5024, in test_chanavg_useWeightSpectrum_false_vs_true_data
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_useWeightSpectrum_false_vs_true_model (__main__.test_spectrum_transformations_useWeightSpectrum_false_vs_true)
Check that WEIGHT/SIGMA are generated in the same way regardless of the useWeightSpectrum parameter
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 5052, in test_chanavg_useWeightSpectrum_false_vs_true_model
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_corrected_vs_model_with_weight_constant (__main__.test_spectrum_transformations_weight_constant)
mstransform: Check that the result of chan avg CORRECTED is the same as time avg MODEL multiplied by input WEIGHT
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 4787, in test_chanavg_corrected_vs_model_with_weight_constant
    mstransform(vis=self.vis,outputvis=self.outvis,
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

======================================================================
ERROR: test_chanavg_spw_with_diff_pol_shape (__main__.test_spw_poln)
mstransform: channel average spw 0 that has repeated SPW ID
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/casatest/casa6/casatasks/tests/tasks/test_task_mstransform.py", line 2329, in test_chanavg_spw_with_diff_pol_shape
    mstransform(vis=self.vis, outputvis=self.outputms, datacolumn='data', spw='0',
  File "/usr/local/lib/python3.8/site-packages/casatasks/mstransform.py", line 620, in __call__
    task_result = _mstransform_t( _pc.document['vis'], _pc.document['outputvis'], _pc.document['createmms'], _pc.document['separationaxis'], _pc.document['numsubms'], _pc.document['tileshape'], _pc.document['field'], _pc.document['spw'], _pc.document['scan'], _pc.document['antenna'], _pc.document['correlation'], _pc.document['timerange'], _pc.document['intent'], _pc.document['array'], _pc.document['uvrange'], _pc.document['observation'], _pc.document['feed'], _pc.document['datacolumn'], _pc.document['realmodelcol'], _pc.document['keepflags'], _pc.document['usewtspectrum'], _pc.document['combinespws'], _pc.document['chanaverage'], _pc.document['chanbin'], _pc.document['hanning'], _pc.document['regridms'], _pc.document['mode'], _pc.document['nchan'], _pc.document['start'], _pc.document['width'], _pc.document['nspw'], _pc.document['interpolation'], _pc.document['phasecenter'], _pc.document['restfreq'], _pc.document['outframe'], _pc.document['veltype'], _pc.document['preaverage'], _pc.document['timeaverage'], _pc.document['timebin'], _pc.document['timespan'], _pc.document['maxuvwdistance'], _pc.document['docallib'], _pc.document['callib'], _pc.document['douvcontsub'], _pc.document['fitspw'], _pc.document['fitorder'], _pc.document['want_cont'], _pc.document['denoising_lib'], _pc.document['nthreads'], _pc.document['niter'], _pc.document['disableparallel'], _pc.document['ddistart'], _pc.document['taql'], _pc.document['monolithic_processing'], _pc.document['reindex'] )
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/task_mstransform.py", line 237, in mstransform
    chanbin = fh.evaluateNumpyType(chanbin)
  File "/usr/local/lib/python3.8/site-packages/casatasks/private/flaghelper.py", line 2035, in evaluateNumpyType
    if(isinstance(elem,np.int) or isinstance(elem,np.int8) or
  File "/usr/local/lib/python3.8/site-packages/numpy/__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'int'

----------------------------------------------------------------------
Ran 202 tests in 1454.061s

FAILED (errors=56, skipped=25)