original_docstring: Transfer sequence task for testing.
  
      
docstring: Transfer sequence task for testing.
docstring_tokens: Transfer sequence task for testing .
code: def task(tmpdir):
      """Transfer sequence task for testing.
  
      """
      p_id = PROFILE_DEPENDENCY_ID
      d_id = DRIVER_DEPENDENCY_ID
      root = RootTask()
      root.run_time = {d_id: {'d': (object, FalseStarter())},
                       p_id: {'p': {'connections': {'c': {}, 'c2': {}},
                                    'settings': {'s': {}}}}}
      path = os.path.join(str(tmpdir), 'test.pulse.ini')
      seq = sequence()
      save_sequence_prefs(path, seq.preferences_from_members())
      task = TransferPulseSequenceTask(sequence=seq, sequence_path=path,
                                       sequence_timestamp=os.path.getmtime(path),
                                       sequence_vars=OrderedDict({'a': '1.5'}),
                                       name='Test',
                                       selected_instrument=('p', 'd', 'c', 's'))
      root.add_child_task(0, task)
      return task
code_tokens: def task ( tmpdir ) : p_id = PROFILE_DEPENDENCY_ID d_id = DRIVER_DEPENDENCY_ID root = RootTask ( ) root . run_time = { d_id : { 'd' : ( object , FalseStarter ( ) ) } , p_id : { 'p' : { 'connections' : { 'c' : { } , 'c2' : { } } , 'settings' : { 's' : { } } } } } path = os . path . join ( str ( tmpdir ) , 'test.pulse.ini' ) seq = sequence ( ) save_sequence_prefs ( path , seq . preferences_from_members ( ) ) task = TransferPulseSequenceTask ( sequence = seq , sequence_path = path , sequence_timestamp = os . path . getmtime ( path ) , sequence_vars = OrderedDict ( { 'a' : '1.5' } ) , name = 'Test' , selected_instrument = ( 'p' , 'd' , 'c' , 's' ) ) root . add_child_task ( 0 , task ) return task
short_docstring: Transfer sequence task for testing.
short_docstring_tokens: Transfer sequence task for testing .
comment: """Transfer sequence task for testing.
  
      """