Skip to content

[BUG] Disable Spaces in Attribute Names #437

@BryonLewis

Description

@BryonLewis

Describe the bug
For some reason I allowed attribute values to have spaces, but forgot to limit the attribute name to a single word. This mostly effects the CSV import/export and nothing else. But to remain consistent I think I should limit users from creating attributes with spaces in them, or at least replace the spaces with underscores or something else.

To Reproduce
Steps to reproduce the behavior:

  1. Create an attribute with a space in the name
  2. Set it on a track in the dataset
  3. download the CSV of the dataset
  4. re-upload as a new dataset the same source images/video and the CSV that was downloaded
  5. Notice that the attributes don't work properly or have the proper name/value

Expected behavior
track attributes should be portable across JSON track formats and CSV formats to do this limiting the attribute name to a single word should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions