From 0547b5a2812d3cb85b76c6ab53f4d54f1beaed95 Mon Sep 17 00:00:00 2001 From: William Joye Date: Mon, 10 Dec 2018 12:34:03 -0500 Subject: add numeric to Contour Levels command --- ds9/doc/release/r8.1.html | 1 + ds9/parsers/contourparser.tac | 1 + 2 files changed, 2 insertions(+) diff --git a/ds9/doc/release/r8.1.html b/ds9/doc/release/r8.1.html index 1e80458..abafda0 100644 --- a/ds9/doc/release/r8.1.html +++ b/ds9/doc/release/r8.1.html @@ -20,6 +20,7 @@
  • 11.06.2018 SAVEIMAGE: all supported WCSs now updated to reflect current rotation, orientation, pan, and zoom.
  • 11.26.2018 TCL/TK: updated to version 8.6.9.
  • 12.07.2018 CONTOUR: merge old and new contour parsers so that regardless of file extension, the file will be correctly parsed.
  • +
  • 12.10.2018 CONTOUR: LEVELS command now takes one numeric in addition to a string.
  • xx.xx.2018 RELEASE version 8.1b1
  • diff --git a/ds9/parsers/contourparser.tac b/ds9/parsers/contourparser.tac index 11384f2..5366b40 100644 --- a/ds9/parsers/contourparser.tac +++ b/ds9/parsers/contourparser.tac @@ -88,6 +88,7 @@ contour : yesno {ProcessCmdSet contour view $1 UpdateContour} | SCOPE_ scope {ContourCmdMode scope $2} | LIMITS_ numeric numeric {ContourCmdLimits $2 $3} | LEVELS_ STRING_ {ContourCmdLevels $2} + | LEVELS_ numeric {ContourCmdLevels $2} | GENERATE_ {ContourDialog; ContourGenerateDialog; UpdateContour} ; -- cgit v0.12