Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-139

Allow two multi-valued variables to be merged in tagger scripting

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: 1.0
    • Component/s: Scripting
    • Labels:
      None

      Description

      As discussed in PICARD-21, it'd be useful to be able to merge two multi-valued variables in tagger script. The existing $set() only works on flattened lists (strings), and $copy completely replaces the target.

      luks suggested adding a new $copymerge(new, old) function (my naming) that will do this, removing duplicates.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                voiceinsideyou voiceinsideyou
                Reporter:
                voiceinsideyou voiceinsideyou
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: