Commits
Benjamin Bean authored a2d4a8b46c8 Merge
193 193 | if ( |
194 194 | _directionRefFrame != _csys.directionCoordinate().directionType(false) |
195 195 | && _directionRefFrame != MDirection::B1950 |
196 196 | && _directionRefFrame != MDirection::B1950_VLA |
197 197 | && _directionRefFrame != MDirection::BMEAN |
198 198 | && _directionRefFrame != MDirection::DEFAULT |
199 199 | && _directionRefFrame != MDirection::ECLIPTIC |
200 200 | && _directionRefFrame != MDirection::GALACTIC |
201 201 | && _directionRefFrame != MDirection::J2000 |
202 202 | && _directionRefFrame != MDirection::SUPERGAL |
203 + | && _directionRefFrame != MDirection::ICRS |
203 204 | ) { |
204 205 | throw AipsError(preamble |
205 206 | + "Unsupported coordinate frame for regions " |
206 207 | + MDirection::showType(_directionRefFrame) |
207 208 | ); |
208 209 | } |
209 210 | _params[COORD] = MDirection::showType(_directionRefFrame); |
210 211 | _directionAxes = IPosition(_csys.directionAxesNumbers()); |
211 212 | |
212 213 | uInt nStokes = _stokes.size(); |