lederhosen 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,10 @@ module Lederhosen
95
95
 
96
96
  # clstrnr_to_seed[seed_sequence_id] = clstr_nr
97
97
  seed_to_clstrnr = Hash.new
98
+ lines = `wc -l #{input}`.split.first.to_i
99
+ pbar = ProgressBar.new 'loading uc file', lines
98
100
  File.open(input) do |handle|
101
+ pbar.inc
99
102
  handle.each do |line|
100
103
 
101
104
  next if line =~ /^#/ # skip comments
@@ -132,6 +135,7 @@ module Lederhosen
132
135
 
133
136
  end
134
137
  end
138
+ pbar.finish
135
139
  return {
136
140
  :clstr_counts => clstr_counts,
137
141
  :seed_to_clstrnr => seed_to_clstrnr,
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lederhosen
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lederhosen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Austin G. Davis-Richardson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-02 00:00:00 Z
18
+ date: 2012-08-03 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: dna