Skip to content

add ability to import tags #48

@shilorigins

Description

@shilorigins

The Import PVs button discards tags that don't exist. This behaviour is desired generally, so that mistakes in the CSV don't change the system's tag configuration. However, it would be convenient to have a way to add tags in bulk for development, testing, and scheduled update purposes.

upload_csv.py already has the logic for importing tags while importing PVs, but it has some issues parsing rows with multiple tags in one group. For example, it might parse "Tag 1,Tag 2" as one tag, rather than as two.

Possible approaches:

  • the Import PVs dialog could show a table of unmatched tags with the option to add each one individually
  • the Import PVs dialog could have an option for importing new tags from the file, with one confirmation for the whole group
  • a dedicated Import Tags button could be added to the Browse PVs screen that accepts the same file format as importing PVs, in addition to a specific tag format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions