Skip to content

Commit

Permalink
Merge pull request #853 from microbiomedata/issue-837
Browse files Browse the repository at this point in the history
Filter GOLD sequencing projects and biosamples based on `projectStatus`
  • Loading branch information
sujaypatil96 authored Dec 23, 2024
2 parents 78f160f + ad079b4 commit cbf0993
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nmdc_runtime/site/translation/gold_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def __init__(
for biosample in biosamples
if any(
project.get("sequencingStrategy") in SEQUENCING_STRATEGIES
and project.get("projectStatus")
in ("Permanent Draft", "Complete and Published")
for project in biosample.get("projects", [])
)
]
Expand Down

0 comments on commit cbf0993

Please sign in to comment.