Operate and contribute
Debugging checklist
API field returns nothing
- Verify organism is selected
- Check
depends_on(parent field filled?) - Check
api_by_taxon(taxon mapped?) - Check
result_pathandmapperin the API definition - Ensure
allow_manual: truefor fallback
Value visible in form but missing in output
- Check
output.path - Check
output.mode - Verify template placeholders (
$value,$label,$id) - Check
append_if— may skip empty values
Cross-references not showing for a result
- Does the search endpoint's own response actually carry them? OLS4's lightweight
/api/selectusually doesn't (check a raw response) — if so, this needsmapper.detail_fetch(see Detail fetch), notmapper.xrefs/xref_from_extra*alone - Check the accession's prefix has a matching entry in
xref_catalog(uppercased) — an unmapped prefix is silently skipped, not an error - For
xref_from_extra_array: check the namedextrakey actually resolves to a comma-separated list, not an empty string (test thedetail_fetch.urlby hand first)
Value in JSON but not shown on dataset page
- Check
display_mapping.source - Check
display_mapping.display_type - Check
filter— may be too restrictive
DataCite mapping missing
- Check the field's
outputmapping - Check normalization in
lib/fdf/datacite_converter.py - Verify expected type (array / object / string)
