File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/synthesis/ImagerObjects Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -262,13 +262,13 @@ namespace casa { //# NAMESPACE CASA - BEGIN
262262 }
263263 else
264264 {
265- if (!ignoresumwt)
266- {throw ( AipsError ( " Multi-term SumWt does not exist. Please create PSFs or Residuals." ) );}
267- else
268- {
265+ // if(!ignoresumwt) // .sumwt image not required for just the minor cycle (aka hummbee or maybe task deconvolve )
266+ // {throw( AipsError( "Multi-term SumWt does not exist. Please create PSFs or Residuals." ) );}
267+ // else
268+ // {
269269 os << " SumWt.ttx do not exist. Proceeding only with PSFs" << LogIO::POST;
270270 std::shared_ptr<ImageInterface<Float> > imptr;
271- // imptr.reset( new PagedImage<Float> (itsImageName+String(".sumwt.tt0")) );
271+
272272 if ( doesImageExist (itsImageName+String (" .residual.tt0" )) )
273273 {buildImage ( imptr, (itsImageName+String (" .residual.tt0" )) );}
274274 else
@@ -279,7 +279,7 @@ namespace casa { //# NAMESPACE CASA - BEGIN
279279 itsUseWeight = False;
280280 itsCoordSys = imptr->coordinates ();
281281 itsMiscInfo=imptr->miscInfo ();
282- }
282+ // }
283283 }
284284 }// if psf0 or res0 exist
285285
You can’t perform that action at this time.
0 commit comments