-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region handling: some valid ds9 regions are not supported #1064
Comments
@keflavich weird. I cannot reproduce the issue. Could you send me the region file? The file is not in dos format, for sure? |
that's exactly the region file; I saved it as |
We had an issue due to the dos format. Now fixed in dev #658 |
Do you have the header line starting with #? |
no, there is no header line |
please add
as the 1st line, otherwise it is hard to tell the region file is in ds9 format or crtf. |
I know that's a workaround, but that is not a requirement for a file to be a valid ds9 region file. The user should be able to tell CARTA what type of region file it is and try to read it. This is important because there are potentially enormous numbers of ds9-compatible .reg files around, and if CARTA can only read a subset of them, it results in creation of a new format standard. |
I agree. CRTF requires |
iirc, ds9 provided a large suite of test files, but I can't find it. In astropy-regions, we have a bunch too, though all of these presently have headers - this issue motivates adding a headerless test case: |
ah, the |
Experiencing a similar problem with DS9 line regions: Region file: im2di_clustered.tessel.reg.txt |
I encountered an issue where a region file formatted like this:
is not recognized as a region file by CARTA, but it is a valid ds9 region file.
The text was updated successfully, but these errors were encountered: