mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
small change to job runner docs
to state more explicitly what `check_watched_item()` should return
This commit is contained in:
@@ -276,7 +276,9 @@ Note:
|
||||
|
||||
- ``get_task_from_external_runner`` and ``create_log_files`` are user-defined methods.
|
||||
|
||||
- Return value is ``job_state`` for running, pending jobs and None for any remaining states of a job.
|
||||
- The method should return ``job_state`` if the job should remain in the job runner's list of watched
|
||||
jobs (i.e. if it is running or pending). If it no longer needs to be watched (e.g. it has terminated
|
||||
either successfully or with an error) it should return None.
|
||||
|
||||
``create_log_files()`` are nothing but copying the files (``error_file``,
|
||||
``output_file``, ``exit_code_file``) from the external runner's directory to
|
||||
|
||||
Reference in New Issue
Block a user