Sha256: d4283a3c133b5d61308b6cc8c4813f383bf3c16cb181eaefa497ec789f2ae37f

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

#!/usr/bin/env ruby

require "rubygems"
require "myexperiment-rest"

include MyExperimentREST

my_exp_workflow = ARGV[0] || "http://www.myexperiment.org/workflows/74/download/bioaid_proteindiscovery_221429.xml?version=3"
wkf = Workflows.new.read(my_exp_workflow)



puts wkf.input_type
puts wkf.xml_uri
puts wkf.title
puts wkf.description
puts "--------------------------"

wkf.inputs.each do |i|
  puts i.name
  i.descriptions.each do |d|
    puts d
  end
  i.examples.each do |e|
    puts e
  end
  puts "--------------------------"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
myexperiment-rest-0.2.7 bin/get_workflow_data.rb