Skip to content

A few bug fixes and new features - #30

Closed
keflavich wants to merge 1 commit into
astropy:masterfrom
keflavich:master
Closed

keflavich wants to merge 1 commit into
astropy:masterfrom
keflavich:master

Conversation

@keflavich

Copy link
Copy Markdown
Contributor

Bug fix: read region files without comments
Features: capability of reading projection, vector, and segment region types

also, vectors can be read now (not ignored as comments)
@keflavich

Copy link
Copy Markdown
Contributor Author

I rebased this so it should actually be mergeable and sensible

@leejjoon

Copy link
Copy Markdown
Contributor

@keflavich : can you point me how ds9 define these region shapes? I thought they are defined with leading "#". And that is why I put these definition in the attribute parser.

leejjoon@1689380

Comment thread lib/ds9_region_parser.py

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not comfortable with this try and except clause. It will consider "# circle(...)" as a real region, which I don't think is a good idea.

@keflavich

Copy link
Copy Markdown
Contributor Author

Ah, I see now - this PR is out of date, then! I agree that just stripping out "#" is a bad idea.

@keflavich keflavich closed this Oct 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants