code: def create_node(self, config_file=None, seed=None, tags=None):
          
  
          # default for tags is empty list
          tags = [] if tags is None else tags
  
          # get analysis start and end time
          start_time = self.cp.get("workflow", "start-time")
          end_time = self.cp.get("workflow", "end-time")
          analysis_time = segments.segment(int(start_time), int(end_time))
  
          # make node for running executable
          node = Node(self)
          node.add_input_opt("--config-file", config_file)
          if seed:
              node.add_opt("--seed", seed)
          injection_file = node.new_output_file_opt(analysis_time,
                                                    ".hdf", "--output-file",
                                                    tags=tags)
  
          return node, injection_file
docs: Set up a CondorDagmanNode class to run ``pycbc_create_injections``.
  
          Parameters
          ----------
          config_file : pycbc.workflow.core.File
              A ``pycbc.workflow.core.File`` for inference configuration file
              to be used with ``--config-files`` option.
          seed : int
              Seed to use for generating injections.
          tags : list
              A list of tags to include in filenames.
  
          Returns
          --------
          node : pycbc.workflow.core.Node
              The node to run the job.