Commits

Ville Suoranta authored 2161f3b49f0 Merge
Merge pull request #1131 in CASA/casa from CAS-12719 to master

* commit '85190859d537e5a993162dc5cdfba70442674314': changed one use of test_refimager in comments to test_tclean to match use in casatasks adjusted CASA 6 expected line counts, does not affect CASA 5 use added a CASA 6 block for partition defaults in createmms case, does not affect casa 5 use added import os need in casatasks use moved import of casac to casa (5) block, matches use in casatasks copy

gcwrap/python/scripts/imagerhelpers/imager_parallel_cube.py

Modified
1 1 from __future__ import absolute_import
2 2 import os
3 3 import math
4 4 import shutil
5 5 import string
6 6 import time
7 7 import re
8 8 import copy
9 -from casac import casac
10 9
11 10 from casatasks.private.casa_transition import is_CASA6
12 11 if is_CASA6:
13 12 from casatools import synthesisutils, synthesisimager
14 13 from casatools import image as imageanalysis
15 14 from casatasks import casalog
16 15
17 16 from .imager_base import PySynthesisImager
18 17 from .parallel_imager_helper import PyParallelImagerHelper
19 18 else:
20 19 from taskinit import *
20 + from casac import casac
21 21
22 22 from imagerhelpers.imager_base import PySynthesisImager
23 23 from imagerhelpers.parallel_imager_helper import PyParallelImagerHelper
24 24
25 25 synthesisimager = casac.synthesisimager
26 26 synthesisutils = casac.synthesisutils
27 27 imageanalysis = casac.image
28 28
29 29 '''
30 30 An implementation of parallel cube imaging, using synthesisxxxx tools.

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut