Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15248

Support textangle in ds9 text regions in Firefly

    XMLWordPrintable

Details

    • 3
    • SUIT Sprint 2018-09
    • Science User Interface

    Description

      When textangle is provided in a region description, Firefly does not draw the associated region. The afw.display.dot method allows specifying the textangle, but when this argument is provided, the region is not displayed.

      Example of region text generated by afw.display.dot that does not display:

      text 1074 110 "Text" # color=yellow textangle=45.0
      

      The format we need to support for angle is textangle= after the hash symbol.

      Attachments

        Issue Links

          Activity

            shupe David Shupe created issue -
            shupe David Shupe made changes -
            Field Original Value New Value
            Risk Score 0
            shupe David Shupe made changes -
            Epic Link DM-8731 [ 28568 ]
            shupe David Shupe made changes -
            Sprint SUIT Sprint 2018-09 [ 739 ]
            Assignee Cindy Wang [ cwang ]
            shupe David Shupe made changes -
            Description When {{textangle}} is provided in a region description, Firefly does not draw the associated region. The {{afw.display.dot}} method allows specifying the textangle, but when this argument is provided, the region is not displayed.

            Example of region text generated by {{afw.display.dot}} that does not display:
            {noformat}text 1074 110 "Text" # color=yellow textangle=45.0
            {noformat}
            In the course of testing region files directly, I noticed text added to e.g. a circle also does not work; however this is not used by {{afw.display.dot}}. Examples taken from [http://ds9.si.edu/doc/ref/region.html:]
            {noformat}circle(1000,1000,80) # color=blue text={This message has both a " and ' in it} textangle=30
            physical;circle(504,513,20) # color=red text={This is a Circle}
            {noformat}
            When {{textangle}} is provided in a region description, Firefly does not draw the associated region. The {{afw.display.dot}} method allows specifying the textangle, but when this argument is provided, the region is not displayed.

            Example of region text generated by {{afw.display.dot}} that does not display:
            {noformat}text 1074 110 "Text" # color=yellow textangle=45.0
            {noformat}

            The format we need to support for angle is {{textangle=}} after the hash symbol.
            xiuqin Xiuqin Wu [X] (Inactive) made changes -
            Labels regions
            xiuqin Xiuqin Wu [X] (Inactive) made changes -
            Story Points 3
            cwang Cindy Wang [X] (Inactive) made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            cwang Cindy Wang [X] (Inactive) made changes -
            Reviewers David Shupe, Trey Roby [ shupe, roby ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            cwang Cindy Wang [X] (Inactive) made changes -
            Remote Link This issue links to "pull request (Web Link)" [ 17906 ]
            shupe David Shupe made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            cwang Cindy Wang [X] (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]

            People

              cwang Cindy Wang [X] (Inactive)
              shupe David Shupe
              David Shupe, Trey Roby
              Cindy Wang [X] (Inactive), David Shupe, Robert Lupton, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.