Skip to content

Expand error message for col_select #134

Description

@peterdesmet

A col_select error currently warns if a column could not be found (👍):

Can't find column(s) animal-id in schema.

The user might not necessarily know what columns are available, so it would be helpful to show those:

Can't find column(s) animal-id, vis in field names.
ℹ Field names: event-id, visible, timestamp, location-long, location-lat, bar:barometric-pressure, external-temperature, gps:dop, gps:satellite-count, gps-time-to-fix, ground-speed, heading, height-above-msl, import-marked-outlier, location-error-numerical, manually-marked-outlier, vertical-error-numerical, sensor-type, individual-taxon-canonical-name, tag-local-identifier, individual-local-identifier, study-name

I also rephrased the first sentence, to mention the word "field names". I think it is less important to mention "schema".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions