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

Stop storing absolute paths in the database #1394

Merged
merged 8 commits into from
Dec 18, 2023

Conversation

york-stsci
Copy link
Collaborator

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.

@york-stsci york-stsci self-assigned this Nov 6, 2023
@pep8speaks
Copy link

pep8speaks commented Nov 6, 2023

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

@york-stsci
Copy link
Collaborator Author

@york-stsci
Copy link
Collaborator Author

The above is the database update script (named as a text file, because GitHub apparently can't handle the upload of a .py file)

@york-stsci
Copy link
Collaborator Author

york-stsci commented Nov 6, 2023

Closes #1377
Closes #1378
Closes #1376

Copy link
Collaborator

@mfixstsci mfixstsci left a 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?

@york-stsci
Copy link
Collaborator Author

The script has not yet been run in active mode. I’m saving that until after we review everything.

@mfixstsci mfixstsci changed the base branch from develop to test December 7, 2023 16:01
@mfixstsci mfixstsci changed the base branch from test to develop December 18, 2023 15:28
@BradleySappington BradleySappington merged commit 37bed91 into spacetelescope:develop Dec 18, 2023
6 checks passed
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.

4 participants