1 class JobWorkUnit < ProxyWorkUnit
3 return @my_children if @my_children
7 components = get(:components)
8 uuids = components.andand.collect {|_, v| v}
9 return items if (!uuids or uuids.empty?)
13 r = ArvadosBase::resource_class_for_uuid(u)
14 rcs[r] = [] unless rcs[r]
18 rc.where(uuid: ids).each do |obj|
19 items << obj.work_unit(components.key(obj.uuid))
35 get(:script_parameters)
50 def supplied_script_version
51 get(:supplied_script_version)
55 get(:docker_image_locator)
59 get(:nondeterministic)
62 def runtime_constraints
63 get(:runtime_constraints)
76 items << get(:output) if get(:output)
81 state_label.in? ["Queued", "Running"]