MCPcopy
hub / github.com/openai/plugins / first_present

Function first_present

plugins/ngs-analysis/scripts/run_fastq_assay_package.py:148–152  ·  view source on GitHub ↗
(row: dict[str, str], names: list[str])

Source from the content-addressed store, hash-verified

146
147
148def first_present(row: dict[str, str], names: list[str]) -> str:
149 for name in names:
150 if row.get(name):
151 return row[name]
152 return ""
153
154
155def check_fastq(path: Path, max_records: int) -> dict[str, Any]:

Callers 1

normalize_samplesFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected