summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-12-10 17:34:03 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-12-10 17:34:03 (GMT)
commit0547b5a2812d3cb85b76c6ab53f4d54f1beaed95 (patch)
tree7c4d0ea93ef0932c0b031b03a3040a80cd86810f /ds9
parent7aee198bb8d89c5624063074291d993e53e8027e (diff)
downloadblt-0547b5a2812d3cb85b76c6ab53f4d54f1beaed95.zip
blt-0547b5a2812d3cb85b76c6ab53f4d54f1beaed95.tar.gz
blt-0547b5a2812d3cb85b76c6ab53f4d54f1beaed95.tar.bz2
add numeric to Contour Levels command
Diffstat (limited to 'ds9')
-rw-r--r--ds9/doc/release/r8.1.html1
-rw-r--r--ds9/parsers/contourparser.tac1
2 files changed, 2 insertions, 0 deletions
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 @@
<li><tt>11.06.2018 SAVEIMAGE: all supported WCSs now updated to reflect current rotation, orientation, pan, and zoom.</tt></li>
<li><tt>11.26.2018 TCL/TK: updated to version 8.6.9.</tt></li>
<li><tt>12.07.2018 CONTOUR: merge old and new contour parsers so that regardless of file extension, the file will be correctly parsed.</tt></li>
+<li><tt>12.10.2018 CONTOUR: LEVELS command now takes one numeric in addition to a string.</tt></li>
<li><tt><b>xx.xx.2018 RELEASE version 8.1b1</b></tt></li>
</ol>
</div>
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}
;