You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
From the ds9 manual (https://ds9.si.edu/doc/ref/region.html), a line region can be defined as line x1 y1 x2 y2 # line=[0|1] [0|1]
where the line=[0|1] [0|1] part is to enable/disable arrow heads at the two ends
When we have such arrow head definition in the region text file, CARTA cannot parse the line region properly with an error message as "polygon syntax error, odd number of arguments.".
* Fix DS9 region import with line arrow properties (ignored)
* Add DS9 parsing for point shape size
* Update changelog description
* Fix DS9 polygon import error messages to include line
* Fix DS9 point properties with no size
Co-authored-by: Pam Harris <pharris@nrao.edu>
Describe the bug
From the ds9 manual (https://ds9.si.edu/doc/ref/region.html), a line region can be defined as
line x1 y1 x2 y2 # line=[0|1] [0|1]
where the
line=[0|1] [0|1]
part is to enable/disable arrow heads at the two endsWhen we have such arrow head definition in the region text file, CARTA cannot parse the line region properly with an error message as "polygon syntax error, odd number of arguments.".
test data attached
tmp.zip
To Reproduce
Steps to reproduce the behavior:
Expected behavior
ds9 line region with such arrow head decoration should still be loaded successfully in CARTA.
Platform info (please complete the following information):
The text was updated successfully, but these errors were encountered: