Skip to content

Enhanced GPM-GT integration in application process#112

Draft
bpow wants to merge 59 commits intomainfrom
gpm-gt-epam-integration
Draft

Enhanced GPM-GT integration in application process#112
bpow wants to merge 59 commits intomainfrom
gpm-gt-epam-integration

Conversation

@bpow
Copy link
Copy Markdown
Collaborator

@bpow bpow commented Jan 9, 2026

@bpow
Copy link
Copy Markdown
Collaborator Author

bpow commented Jan 9, 2026

@setiadha-unc has indicated that this may be close to ready (with some potential ongoing discussions for rationale for tiers in GCEP application), so I've rebased against main and opened a draft pull request for review.


namespace App\DataTransferObjects;

class GtDiseaseDto
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For safety, DTO classes should probably be final readonly. I'd also be interested into looking into use of a FromArrayTrait or Spatie's DataTransferObject library to see if we can make DTO classes more concisely (not just these, but for others in the codebase as well.

return [
'ids' => 'required|array|min:1',
'ids.*' => 'required|integer|exists:genes,id',
'tier' => 'nullable|integer|in:1,2,3,4'
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct anymore? I think we had changed to having just 2 tiers.

return this.genes.reduce((n, g) => { return n + ((this.getTier(g) === 1 && this.isCurated(g)) ? 1 : 0); }, 0);
},
shouldShowRationale() {
return this.group?.is_gcep && (this.tier1CuratedGenesCount > 0 || this.editing);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double checking the logic here: do we want the rationale to be shown when editing even if there are no tier1 curated genes?

@bpow bpow force-pushed the gpm-gt-epam-integration branch 3 times, most recently from 465a36b to 08fe4e3 Compare February 2, 2026 21:08
@bpow bpow force-pushed the gpm-gt-epam-integration branch from 08fe4e3 to d270813 Compare February 13, 2026 19:35
@bpow bpow force-pushed the gpm-gt-epam-integration branch 3 times, most recently from 141f27b to c3f3c93 Compare March 3, 2026 18:11
@setiadha-unc setiadha-unc force-pushed the gpm-gt-epam-integration branch from 4142a92 to 902bd05 Compare March 9, 2026 18:23
@bpow bpow force-pushed the gpm-gt-epam-integration branch from 902bd05 to 9f9464d Compare March 9, 2026 20:26
@setiadha-unc setiadha-unc force-pushed the gpm-gt-epam-integration branch 2 times, most recently from d59083f to 88ed058 Compare March 12, 2026 21:58
@bpow bpow force-pushed the gpm-gt-epam-integration branch from 0a71a27 to a5d68d0 Compare March 13, 2026 15:14
@setiadha-unc setiadha-unc force-pushed the gpm-gt-epam-integration branch 3 times, most recently from 5dc9e5b to 51c38bb Compare March 26, 2026 15:00
@setiadha-unc setiadha-unc force-pushed the gpm-gt-epam-integration branch 6 times, most recently from 2da3694 to ff58d76 Compare April 13, 2026 01:02
@setiadha-unc setiadha-unc force-pushed the gpm-gt-epam-integration branch 4 times, most recently from 657e30e to b1857bb Compare April 16, 2026 16:09
…include in checkpoint. Fix GPM-GT-Integration
…user and super-admin, updated gene -> GDM VCEP step 4 evidence summary. GPM-GT Integration
…or scope and rationale. no DTO. GPM-GT-Epam-Integration
… rename table genes to scope_genes. GPM-GT-Epam-Integration
- Replaced gene with GDM at step 4,
- Added detail "found in another vcep".
GPM-GT Integration
@setiadha-unc setiadha-unc force-pushed the gpm-gt-epam-integration branch from a9adf88 to 7d19f80 Compare April 28, 2026 23:57
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