Sha256: 61553508cfcdb8cb1c2e9276958835d03888d4336ced4baa6db1758effae9569

Contents?: true

Size: 608 Bytes

Versions: 8

Compression:

Stored size: 608 Bytes

Contents

#!/usr/bin/ruby


require 'optparse'
require 'spec_id/srf'

$OUTFILE = 'bioworks.srg'

opts = OptionParser.new do |op|
  op.banner = "usage: #{File.basename(__FILE__)} <file1>.srf <file2>.srf ..."
  op.separator "outputs: 'bioworks.srg'"
  op.separator ""
  op.separator "    A '.srg' file is an ascii text file with a list"
  op.separator "    of the srf files (full path names) in that group."
  op.separator ""
  op.on('-o', '--output <filename>', 'a different output name') {|v| $OUTFILE }
end

if ARGV.size == 0
  puts opts
  exit
end

obj = SRFGroup.new
obj.filenames = ARGV.to_a
obj.to_srg($OUTFILE)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mspire-0.4.9 bin/srf_group.rb
mspire-0.3.0 bin/srf_group.rb
mspire-0.3.1 bin/srf_group.rb
mspire-0.3.9 bin/srf_group.rb
mspire-0.4.4 bin/srf_group.rb
mspire-0.4.2 bin/srf_group.rb
mspire-0.4.7 bin/srf_group.rb
mspire-0.4.5 bin/srf_group.rb