vcf 0.0.3 → 0.0.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.
Files changed (2) hide show
  1. data/lib/vcf.rb +2 -0
  2. metadata +1 -1
data/lib/vcf.rb CHANGED
@@ -13,6 +13,8 @@ public
13
13
  end
14
14
 
15
15
  def parse_line(line, sample_names=nil)
16
+ return false if line[0] == '#'
17
+
16
18
  f = line.chomp.split("\t", -1)
17
19
  raise "VCF lines must have at least 8 fields" if f.size < 8
18
20
  @chrom = f[0]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vcf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jesse Rodriguez