Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
Single visibility files are handled properly now.
  • Loading branch information
sbussmann committed May 22, 2015
1 parent dada2c1 commit a6a0f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions visualutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def makeImage(config, interactive=True, miriad=False, idtag=''):
modelvisloc.append(visname + '_model_' + idtag + '.ms')
# handle single visibility files
else:
visname, visext = os.path.splitext(ivisfile)
visname, visext = os.path.splitext(visfile)
modelvisloc = visname + '_model_' + idtag + '.ms'

# use CASA's clean task to make the images
Expand All @@ -567,7 +567,7 @@ def makeImage(config, interactive=True, miriad=False, idtag=''):
modelvisloc.append(visname + '_residual_' + idtag + '.ms')
# handle single visibility files
else:
visname, visext = os.path.splitext(ivisfile)
visname, visext = os.path.splitext(visfile)
modelvisloc = visname + '_residual_' + idtag + '.ms'

# use CASA's clean task to make the images
Expand Down

0 comments on commit a6a0f54

Please sign in to comment.