Bug #3280

Sky region files are not readable when specifying region names

Added by Knödlseder Jürgen almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:07/22/2020
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.7.1
Duration:

Description

It seems that region names have to put in quotes when written into a reg file, hence instead of

fk5;circle(80.4375,21.2142772674561,0.02) # text=RGB J0521+212

one needs to write
fk5;circle(80.4375,21.2142772674561,0.02) # text="RGB J0521+212" 


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen almost 4 years ago

  • Status changed from New to Pull request
  • % Done changed from 0 to 100

According to http://ds9.si.edu/doc/ref/region.html strings may be quoted with ” or ' or {}. The usage of {} is recommended.

I implement this logic in GSkyRegionCircle::read() and GSkyRegionCircle::write(), where {} is used in the latter.

#2 Updated by Knödlseder Jürgen almost 4 years ago

  • Status changed from Pull request to Closed

Also available in: Atom PDF