[WIP] Adding an age column to deal with issue 330#399
Merged
manning-ncsa merged 10 commits intoscimma:mainfrom Apr 29, 2026
Merged
[WIP] Adding an age column to deal with issue 330#399manning-ncsa merged 10 commits intoscimma:mainfrom
manning-ncsa merged 10 commits intoscimma:mainfrom
Conversation
Collaborator
|
Please add a commit updating the app version and changelog. |
| SEDFittingResult = apps.get_model("host", "SEDFittingResult") | ||
| all_sed_res = SEDFittingResult.objects.all() | ||
| for sed_res in all_sed_res: | ||
| log_age_16 = sed_res.log_age_16 |
Collaborator
There was a problem hiding this comment.
Any reason why this is done in two steps instead of directly assigning in one step?
Collaborator
|
To test your migration,
|
…e column to the prospector results to blast function, the debug utils function on sed results, and in importing an export file
Collaborator
|
Here is the procedure I used to test the export/import of transient datasets between the current and proposed version: # Stop Blast and clear database
bash run/blastctl full_dev purge-db
# Checkout v1.9.4
git checkout v1.9.4
git status --porcelain
# Start Blast
bash run/blastctl full_dev up
# Export 2026dgt via web page
# Stop Blast and checkout new version
bash run/blastctl full_dev down
git checkout rishabh-logage
bash run/blastctl full_dev up
# Delete transient 2026dgt http://localhost:4000/api/transient/delete/2026dgt/all
# Import 2026dgt from exported archive file
# Export 2026dgt again to compare with original and verify that the new "age" keys exist:
# ...
# "log_age_16": 0.5585912229223885,
# "log_age_50": 4.792816941415436,
# "log_age_84": 7.2754636677303886,
# "age_16": 0.5585912229223885,
# "age_50": 4.792816941415436,
# "age_84": 7.2754636677303886,
# ...
# Delete transient again http://localhost:4000/api/transient/delete/2026dgt/all
# Import 2026dgt from archive file exported by new version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #330 .
Description of the Change
log_agecolumns to the newagecolumnsChecklist
Please check all that apply to your proposed changes
Additional context