Sha256: da42036138bd1fc7960385fbd3400358705c21086f7225a7b4c15e3af9df0040

Contents?: true

Size: 831 Bytes

Versions: 5

Compression:

Stored size: 831 Bytes

Contents

require 'stringio'
# require 'test/unit'
require 'json'
require 'gnuplot'

ROOT_PATH=File.dirname(File.dirname(__FILE__))

# $: << File.expand_path(File.join(ROOT_PATH,'test'))
$: << File.expand_path(File.join(ROOT_PATH,'classes'))
$: << File.expand_path(File.join(ROOT_PATH,'plugins'))
$: << File.expand_path(File.join(ROOT_PATH,'utils'))

if ARGV.empty?
puts "Usage: #{$0} stats.json initial_stats.json"
exit
end

d=Dir.glob(File.expand_path(File.join(ROOT_PATH,'plugins','*.rb')))

# puts d.entries
# puts "="*20

require 'plugin'

# require 'params'

d.entries.each do |plugin|
	require  plugin
  # puts "Requiring #{plugin}"
end

require 'graph_stats'

#load stats

r=File.read(ARGV[0])
stats=JSON::parse(r)


r2=File.read(ARGV[1])
init_stats=JSON::parse(r2)

gs=GraphStats.new(stats,init_stats)

puts "Graphs generated"
    

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
seqtrimnext-2.0.33 bin/create_graphs.rb
seqtrimnext-2.0.32 bin/create_graphs.rb
seqtrimnext-2.0.31 bin/create_graphs.rb
seqtrimnext-2.0.30 bin/create_graphs.rb
seqtrimnext-2.0.29 bin/create_graphs.rb