<%= content_for :css do %> <%# https://github.com/mbostock/d3/wiki/Ordinal-Scales %> <% n=-1; %w(#1f77b4 #ff7f0e #2ca02c #d62728 #9467bd #8c564b #e377c2 #7f7f7f #bcbd22 #17becf).each do |color| %> .colorseries-10-<%= n += 1 %>, .btn.colorseries-10-<%= n %>:hover, .label.colorseries-10-<%= n %>:hover { *background-color: <%= color %>; background-color: <%= color %>; background-image: none; } <% end %> .colorseries-nil { } .label a { color: inherit; } <% end %> <% @provenance.reverse.each do |p| %> <% j = p[:job] %> <% if j %> <% else %> <% end %> <% end %>
<% j.script_parameters.each do |k,v| %> <% end %>
<%= k.to_s %> <% if v and @output2job.has_key? v %> <%= link_to_if_arvados_object v %> <% else %> <%= link_to_if_arvados_object v %> <% end %> <% if v if @protected[v] labelclass = 'success' labeltext = 'keep' else labelclass = @output2job.has_key?(v) ? 'warning' : 'danger' labeltext = 'cache' end %> <%= labeltext %> <% end %>

<%= j.script %>
<%= link_to_if j.script_version.match(/[0-9a-f]{40}/), j.script_version, "https://arvados.org/projects/arvados/repository/revisions/#{j.script_version}/entry/crunch_scripts/#{j.script}" if j.script_version %>


<%= link_to_if_arvados_object p[:output] %>
job:
<%= link_to_if_arvados_object j %>
<%= j.submit_id %>
lookup fail
<%= p[:target] %>