BioDataFuse / BioDataFuse/pyBiodatafuse

`NA`, `np.nan`, and `pd.NA` are not valid JSON standard, return `null` instead

Open
#220 0 comments 0 reactions 1 assignee Claimed by @jmillanacosta View on GitHub
bug update annotator
Dominant language
Python
Stars
15
Forks
14
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The annotators return `NA` values for the `output_dict` values when no annotation was available. They should return `null` to avoid downstream issues (e.g. if using BDF as an API from javascript).

**Expected behavior**
Replace all `NA`-like returns for `null` so we can do `json.dumps()` with BDF output.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.