Skip to content

'GreatCircleICRSFrame' object has no attribute '_R' #396

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

Open
martinmestre opened this issue Nov 5, 2024 · 2 comments
Open

'GreatCircleICRSFrame' object has no attribute '_R' #396

martinmestre opened this issue Nov 5, 2024 · 2 comments

Comments

@martinmestre
Copy link

martinmestre commented Nov 5, 2024

Hi all,
thanks developing the Gala package!
I made a new installation of Gala with pip (stable and dev) and in both situations I have the same error:
ERROR: Python: AttributeError: 'GreatCircleICRSFrame' object has no attribute '_R'
The error starts when calling reflex_correct and using a Galstreams frame.
I am calling Gala from Julia so the error might come from my side.
Thank you very much!

@adrn
Copy link
Owner

adrn commented Nov 11, 2024

Hey @martinmestre! What version of galstreams are you using? I remember an error like this, but I fixed some issues with the way galstreams was using GreatCircleICRSFrame - I'm not sure if those fixes made it into a released version. What if you try installing the dev version of galstreams? Do you have a minimum working example of getting the error using reflex_correct?

@martinmestre
Copy link
Author

martinmestre commented Nov 12, 2024

Hi @adrn,
thanks for your answer.
I prepared a MWE in Python and the problem was reproduced.
I am using

python 3.10.15
galstreams  1.0.2.dev294
gala 1.9.2.dev5 

I prepared a notebook with an "almost MWE" (The data is from GD-1-PB18 at the CATS repository).
As I am not able to attach a notebook here, I have uploaded it to public repo I develop:
https://github.com/martinmestre/IntrospectiveStreams.jl/blob/main/test/gala_reflex_correct.ipynb
By the end of the notebook it is possible to see which is the line inside reflex_correct that causes the problem.
Please let me know if I am missing something :)
Thanks!
All the best!

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

No branches or pull requests

2 participants