-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
Improving HEK Representation #7619
base: main
Are you sure you want to change the base?
Conversation
You will need to add regions to https://github.com/sunpy/sunpy/blob/main/pyproject.toml#L77 so it is installed. |
UNIT_FILE_PATH = Path(os.path.dirname(__file__)) / "unit_properties.json" | ||
COORD_FILE_PATH = Path(os.path.dirname(__file__)) / "coord_properties.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these can be added to the all and imported else where as required.
sunpy/net/hek/utils.py
Outdated
COORD_FILE_PATH = Path(os.path.dirname(__file__)) / "coord_properties.json" | ||
|
||
def freeze(obj): | ||
""" Create hashable representation of result dict. """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
""" Create hashable representation of result dict. """ | |
""" | |
Create a hashable representation of a dict or list. | |
Otherwise returns the original input. | |
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take issue with the function name but that's a separate conversation.
This PR includes the work that has been done in GSoC 23 but in a new and fresh branch to start GSoC 24.
I've migrated GSoC 23 commits and resolved most of the conflicts, it needs a review to see if there is any conflict remaining.