You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Anderson edited this page Mar 20, 2026
·
2 revisions
The assimilator script_assimilator lets you write assimilator logic
in your language of choice (Python, Perl, PHP, bash, etc.).
script_assimilator takes a command-line argument
--script "filename arg1 ... argn"
script to handle a completed job
arg1 ... argn represent cmdline args to be passed to the script
for successful workunits.
The options are:
files
list of output files of the job's canonical result
wu_id
workunit ID
result_id
ID of the canonical result
runtime
runtime of the canonical result, in seconds
If no args are specified, the script is invoked as
scriptname wu_id files
If the workunit has no canonical result (i.e. it failed)
the script is invoked as
scriptname --error N wu_id
where N is an integer encoding the reasons for the job's failure
(see WU_ERROR_* in html/inc/common_defs.inc)
The script must be put in your project's bin/ directory.