Skip to content

Problem test-workflow

Traceback (most recent call last):
  File "test-workflow.py", line 136, in <module>
    __main__()
  File "test-workflow.py", line 128, in __main__
    with run_wf(gi, name, parser.galaxy_instance, parser.data_dir) as run_status:
  File "/pasteur/projets/policy01/galaxy-prod/python_galaxy/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "test-workflow.py", line 91, in run_wf
    gi.histories.delete_history(history_id=test_history['id'], purge=True)
UnboundLocalError: local variable 'test_history' referenced before assignment