Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special handling of dict values, esp. by quantulum #12

Open
Tracked by #552
turbomam opened this issue Aug 6, 2021 · 0 comments
Open
Tracked by #552

Special handling of dict values, esp. by quantulum #12

turbomam opened this issue Aug 6, 2021 · 0 comments

Comments

@turbomam
Copy link
Member

turbomam commented Aug 6, 2021

Could this library accept dictionary values? Consider when an upstream process is already generating JSON that isolates the units from a measurement, but doesn't do any other sanitization

        "depth": {
            "has_raw_value": "0-1",
            "has_unit": "m"
        },
        "elev": {
            "has_raw_value": 500.0,
            "has_unit": "m"
        }

Right now, sample-annotator is complaining (on quantulum's behalf) that depth and elev are dicts, not strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant