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

deleted photoz_helper script #243

Merged
merged 3 commits into from
Aug 16, 2022

Conversation

astrophpeter
Copy link
Collaborator

@astrophpeter astrophpeter commented Aug 12, 2022

Fixes # NA

Description of the Change

Removing the the old photoz_helper.py script which is in the base directory. This module is in the astro_ghost python package now, and everywhere in yse_pz (except in YSE_App/data_ingest/PS1_PhotoZ.py) photoz_helper is imported from astro_ghost - So this script deletion should not effect the django web app.

YSE_App/data_ingest/PS1_PhotoZ.py is a cron that is not currently being run on production, and could potentially break with this deletion. We should test if we can import photoz_helper via the astro_ghost module in this cron. I've updated the imports in this file. Could just also delete this unused cron? (it will still be in git history ofcourse).

Checklist

Please check all that apply to your proposed changes

  • HTML code change
  • Added package dependency
  • Added data
  • Changed django model
  • Documentation change

Additional context

@astrophpeter astrophpeter marked this pull request as ready for review August 12, 2022 19:33
@astrophpeter astrophpeter changed the title deleted photoz_helper scipt deleted photoz_helper script Aug 12, 2022
Copy link
Owner

@davecoulter davecoulter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for helping to remove cruft!

@davecoulter davecoulter merged commit 3e751f6 into develop Aug 16, 2022
@davecoulter davecoulter deleted the develop-peter-remove-old-photo_z_script branch August 16, 2022 18:31
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