-
Notifications
You must be signed in to change notification settings - Fork 43
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
Stop storing absolute paths in the database #1394
Stop storing absolute paths in the database #1394
Conversation
Hello @york-stsci, Thank you for updating ! Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated at 2023-12-18 15:19:00 UTC |
The above is the database update script (named as a text file, because GitHub apparently can't handle the upload of a .py file) |
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.
@york-stsci thanks for the updates! We will need to perform similar updates to #1152. Have the databases been updated yet?
jwql/website/apps/jwql/monitor_pages/monitor_readnoise_bokeh.py
Outdated
Show resolved
Hide resolved
The script has not yet been run in active mode. I’m saving that until after we review everything. |
I believe the intent summary is on Jira, but the goal of this PR is to update the readnoise monitor so that it doesn't store absolute paths in the database, and it also doesn't expect absolute paths when run as part of the website.
There will also be an associated script to update the existing database entries that have absolute paths in them.