Commits

Ihor Ihnatiev authored 71373facc12
Changes according to the NAOJ code review Refs #2715 - changed line length

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. Please use \u001b[1m\u001b[32mtsdimaging\u001b[0m instead.", "WARN")
26 + casalog.post(
27 + 'The \u001b[31msdimaging\u001b[0m task is deprecated and will be removed in future releases. '
28 + 'Please use \u001b[1m\u001b[32mtsdimaging\u001b[0m instead.',
29 + "WARN")
27 30 with sdimaging_worker(**locals()) as worker:
28 31 worker.initialize()
29 32 worker.execute()
30 33 worker.finalize()
31 34
32 35
33 36 def is_string_type(val):
34 37 """Return True if the argument is string type."""
35 38 return type(val) in [str, numpy.str_]
36 39

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

Add shortcut