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

GPL-770-2 Update the get cherrypicked samples queries for the new Beckman events #192

Closed
1 task done
Chris-Friend opened this issue Dec 23, 2020 · 4 comments · Fixed by #193
Closed
1 task done
Assignees
Labels
Beckman integration Beckman integration

Comments

@Chris-Friend
Copy link
Contributor

Chris-Friend commented Dec 23, 2020

User story
See sanger/lighthouse#228 for main issue. This just represents the changes required to crawler

Who are the primary contacts for this story
Katy T
Phil
Chris F

Acceptance criteria
To be considered successful the solution must allow:

Dependencies
This story is blocked by the following dependencies:

Additional context
Add any other context or screenshots about the feature request here.

@rl15
Copy link

rl15 commented Jan 7, 2021

#144

@rl15
Copy link

rl15 commented Jan 7, 2021

PSD to test
What samples have been CP
+ves report
Something else

@KatyTaylor
Copy link
Contributor

Clarification of above comment.

To test this:

  1. This 'get cherrypicked samples' functionality is used in the 'Add Legacy Samples to DART Migration' (update_dart.py) - it does not migrate samples that have already been cherrypicked.
    • samples that have been cherrypicked using Sentinel (have 'cherrypick_layout_set' event) should not be migrated
    • samples that have been cherrypicked using Beckman (have 'lh_beckman_cp_destination_created' event) should not be migrated
  2. This 'get cherrypicked samples' functionality is used in the 'Update Filtered Positives Migration' (update_filtered_positives.py) - it does not update the filtered positive fields on samples that have already been cherrypicked.
    • samples that have been cherrypicked using Sentinel (have 'cherrypick_layout_set' event) should not be updated
    • samples that have been cherrypicked using Beckman (have 'lh_beckman_cp_destination_created' event) should not be updated
    • (to clarify, this functionality is not used in the 'Assign Filtered Positive Fields to Legacy Samples Migration' (update_legacy_filtered_positives.py)

@Chris-Friend
Copy link
Contributor Author

Clarification of above comment.

To test this:

  1. This 'get cherrypicked samples' functionality is used in the 'Add Legacy Samples to DART Migration' (update_dart.py) - it does not migrate samples that have already been cherrypicked.

    • samples that have been cherrypicked using Sentinel (have 'cherrypick_layout_set' event) should not be migrated
    • samples that have been cherrypicked using Beckman (have 'lh_beckman_cp_destination_created' event) should not be migrated
  2. This 'get cherrypicked samples' functionality is used in the 'Update Filtered Positives Migration' (update_filtered_positives.py) - it does not update the filtered positive fields on samples that have already been cherrypicked.

    • samples that have been cherrypicked using Sentinel (have 'cherrypick_layout_set' event) should not be updated
    • samples that have been cherrypicked using Beckman (have 'lh_beckman_cp_destination_created' event) should not be updated
    • (to clarify, this functionality is not used in the 'Assign Filtered Positive Fields to Legacy Samples Migration' (update_legacy_filtered_positives.py)

Further clarification of last point: the functionality is not used in updating legacy samples with filtered positive values as we expect this migration to be run before the Beckman workflow was in use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beckman integration Beckman integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants