code: def get_boutiques_groups(input_traits):
      """
      Returns a list of dictionaries containing Boutiques groups for the mutually
      exclusive Nipype inputs.
      """
      desc_groups = []
      mutex_input_sets = []
  
      # Get all the groups
      for name, spec in input_traits:
          if spec.xor is not None:
              group_members = set([name] + list(spec.xor))
              if group_members not in mutex_input_sets:
                  mutex_input_sets.append(group_members)
  
      # Create a dictionary for each one
      for i, inp_set in enumerate(mutex_input_sets, 1):
          desc_groups.append(
              {
                  "id": "mutex_group"
                  + ("_" + str(i) if i != 1 else ""),
                  "name": "Mutex group"
                  + (" " + str(i) if i != 1 else ""),
                  "members": list(inp_set),
                  "mutually-exclusive": True,
              }
          )
  
      return desc_groups
  
file_path: nipype/nipype/utils/nipype2boutiques.py
imports: import os
  import sys
  import simplejson
  from ..scripts.instance import import_module
label_desc: Use image node_id 5 for calling a global function with example usage: get_boutiques_groups(input_traits) and returns: desc_groups