Commits

Ihor Ihnatiev authored 39c3e314e93
Removed test messages from warning
No tags

casatasks/src/private/task_sdimaging.py

Modified
16 16 @sdutil.sdtask_decorator
17 17 def sdimaging(infiles, outfile, overwrite, field, spw, antenna, scan, intent,
18 18 mode, nchan, start, width, veltype, outframe,
19 19 gridfunction, convsupport, truncate, gwidth, jwidth,
20 20 imsize, cell, phasecenter, projection, ephemsrcname,
21 21 pointingcolumn, restfreq, stokes, minweight, brightnessunit, clipminmax,
22 22 # Performances optimization options
23 23 enablecache, convertfirst,
24 24 interpolation):
25 25
26 - casalog.post("The \u001b[31msdimaging\u001b[0m task is deprecated and will be removed in future releases. TEST TEXT Please use \u001b[1m\u001b[32mtsdimaging\u001b[0m instead.", "WARN")
26 + casalog.post("The \u001b[31msdimaging\u001b[0m task is deprecated and will be removed in future releases. Please use \u001b[1m\u001b[32mtsdimaging\u001b[0m instead.", "WARN")
27 27 with sdimaging_worker(**locals()) as worker:
28 28 worker.initialize()
29 29 worker.execute()
30 30 worker.finalize()
31 31
32 32
33 33 def is_string_type(val):
34 34 """Return True if the argument is string type."""
35 35 return type(val) in [str, numpy.str_]
36 36

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

Add shortcut