Skip to content
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

Rework cache #313

Merged
merged 6 commits into from
May 17, 2023
Merged

Rework cache #313

merged 6 commits into from
May 17, 2023

Conversation

robertdstein
Copy link
Member

This PR unifies the cache structure, and removes some existing redundancy. It introduces a central paths.py to contain directories. The various files are saved to caches based either on the name of the parent event (e.g for candidate PDFs), OR the name of the ZTF source if it is event-agnostic (e.g crossmatching).

It updates the crossmatching for WISE, to display the nearest source if there are multiple matches.

It adds some scattered docstrings introduced as I went though the code.

It comments out the buggy GRB name code (#312), and associated test.

It also updates the pre-commit to use isort (which sorts imports).

@robertdstein robertdstein marked this pull request as ready for review May 17, 2023 21:24
@robertdstein robertdstein enabled auto-merge (squash) May 17, 2023 21:24
@coveralls
Copy link

coveralls commented May 17, 2023

Coverage Status

Coverage: 69.992% (+0.02%) from 69.974% when pulling c3288f3 on minobssummary into ff50aa6 on main.

@robertdstein robertdstein merged commit 91f6825 into main May 17, 2023
@robertdstein robertdstein deleted the minobssummary branch May 17, 2023 21:38
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