MCPcopy
hub / github.com/Yuan1z0825/nature-skills / _get_first

Function _get_first

skills/nature-academic-search/scripts/converters.py:45–47  ·  view source on GitHub ↗
(fields, tag)

Source from the content-addressed store, hash-verified

43
44
45def _get_first(fields, tag):
46 vals = fields.get(tag, [])
47 return vals[0] if vals else ""
48
49
50def _extract_doi(fields):

Callers 4

_extract_yearFunction · 0.85
medline_to_risFunction · 0.85
medline_to_bibFunction · 0.85
medline_to_enwFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected