Merge pull request #971 in CASA/casa from CAS-12358 to master
* commit 'f32fff357003883e14aab566e19035297c86f575':
relocate a comment
clean up debugging statements
bug fixes to spw/channels used to determine weights
only used selected (via ms.select()) spws in logging
CAS-12358 add log message about which channels will be used