Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
45
def
_get_first(fields, tag):
46
vals = fields.get(tag, [])
47
return
vals[0]
if
vals
else
""
48
49
50
def
_extract_doi(fields):
Callers
4
_extract_year
Function · 0.85
medline_to_ris
Function · 0.85
medline_to_bib
Function · 0.85
medline_to_enw
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected