ericmandel / pyds9

Python connection to SAOimage DS9 via XPA
76 stars 41 forks source link

no get_fits method for DS9 instance #74

Open vpicouet opened 5 years ago

vpicouet commented 5 years ago

image image

In python 2, it is asked to use the get_fits() DS9 method which is not implemented in the version for python 3. Is it possible to implement the same method for both python version? Cheers

Vincent

montefra commented 5 years ago

get_fits is available for both python 2 and 3. Are you sure that you are using the same version in both cases?

vpicouet commented 5 years ago

Hi Montefra, thanks for your answer, you are right I think I was using the GitHub installed version on python 2.7 and the pip install version on python 3. For both of them pyds9.version = '1.8.1' although the code is not the same. It might be interesting to change this (?).

I think I have the answer to my problem, and managed to install the previous commit (mid2018) of pyds9.

To resume: -The pip version do not have the get_fits method -The dev version from GitHub has been changed 15 hours ago and there is a ":" missing in it which prevent the install.

Do you know when you will be able to release a new pip version of pyds9? Best

Vincent

montefra commented 5 years ago

The dev version from GitHub has been changed 15 hours ago and there is a ":" missing in it which prevent the install.

can you please past the error here? I did a local install here yesterday evening and it did work

Regarding the pip version: it is currently on @xcthulhu account. I should discuss with @ericmandel and @xcthulhu about it.

vpicouet commented 5 years ago

Ok thanks! Could you let me know when you have some more information about it? I also have a package that relies on pyds9 so if they do not plan to release the new version I should change a bit the parts of my code that relies on the GitHub dev package. Thanks for your help!

vpicouet commented 4 years ago

Hello Montefra, any news about when the new pyds9 version will be put on Pypi? Thanks

VIncent