Open
Conversation
…manual_indexing status
…curation record types
… with edge case (multiple curators for same timestamp)
…manual indexing not already set)
…roper assignment of curator when multiple possibilites
… subs get_all_currec_data and get_relevant_curator_from_candidate_list_using_pub_and_timestamp
…g dealing with unknown style curators
…f appropriate for workflow_tag type
…internal notes to the note slot
… mode json submission to ABC
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.
This PR adds populate_workflow_status.pl which makes json to be used to load FlyBase curation status information into the Alliance ABC literature database for those types of curation that are stored in the ABC in the 'workflow_tag' table.
Three types of FB curation are mapped to the appropriate Alliance information by this script:
Script logic:
Uses FB 'curated_by' pubprop information to determine the curation status of the three FB curation types being mapped to workflow_tag. Sets curation status to 'done' when a file of the standard expected filename format is found for a given curation type.
Uses the 'nocur' flag to identify papers that contain 'no genetic information'. Validates that the nocur flag is correct and then sets manual_indexing status to 'won't curate' (with 'no genetic information' curation_tag), overriding any 'done' status added in the first step above.
Identifies papers have not yet been manually indexed, but which contain high-priority data. Sets curation status to 'curation needed' for manual indexing, with a note explaining why the paper is high priority.
Adds publication-level internal notes to the 'note' of the appropriate workflow_tag curation type
Changes in lib/AuditTable.pm and lib/Util.pm add subroutines needed to get the relevant data for populate_workflow_status.pl