Skip to content

Commit

Permalink
Augment kinship calculation to check modification date and only run a…
Browse files Browse the repository at this point in the history
…s-needed
  • Loading branch information
bbimber committed Sep 3, 2024
1 parent d7d5bab commit a99c8ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion PMR/resources/queries/study/pedigree.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ AS status,
d.id.demographics.calculated_status as status_code,
d.id.demographics.species,
'' as Display,
'Demographics' as source
'Demographics' as source,
d.modified

FROM study.demographicsParents d
WHERE d.numParents > 0 and d.id.demographics.species IS NOT NULL
3 changes: 2 additions & 1 deletion mcc/resources/queries/study/pedigree.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ AS status,
d.id.demographics.calculated_status as status_code,
d.id.demographics.species,
'' as Display,
'Demographics' as source
'Demographics' as source,
d.modified

FROM study.demographicsParents d
WHERE d.numParents > 0 and d.id.demographics.species IS NOT NULL

0 comments on commit a99c8ef

Please sign in to comment.