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

Smarter collection refresh #1305

Merged
merged 4 commits into from
Mar 7, 2023
Merged

Smarter collection refresh #1305

merged 4 commits into from
Mar 7, 2023

Conversation

jimallman
Copy link
Member

When refreshing/updating trees in a collection, we now compare all the study+tree properties that are stored in the tree collection to the latest study+tree in phylesystem. If any of these properties have changed, the tree is marked as MODIFIED (formerly RENAMED) for curator approval. Of course, saving the changes should store the new values in each case. Addresses #1300.

This is tested and working (afaict) on devtree.

This is mainly preparation for the next steps: to update all metadata
properties in each refreshed tree, and to mark as MODIFIED if any of
them has changed since last check.
When "refreshing" a tree collection, we check its listed trees against the matching trees and studies in phylesystem, specifically any properties that are also stored in a tree collection. If *any* of these properties have changed, update our listed tree and mark it as MODIFIED. Offer these changes to a human curator, as before.
@mtholder mtholder merged commit e5275cf into master Mar 7, 2023
@jimallman jimallman deleted the smarter-collection-refresh branch November 14, 2023 18:12
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