cagnut_samtools 0.3.0 → 0.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 14683e9ff5605abf37813b83fd8d7626c9a7a5d8
4
- data.tar.gz: 4d7cd2823ba7aeed8ff44883a197781175ee9967
3
+ metadata.gz: deb4e3f4a2c5681c6399b9933e0bd64c7ae15bf0
4
+ data.tar.gz: 7536d73c34d98605ba93852b065707440e1cd696
5
5
  SHA512:
6
- metadata.gz: 05dea5b194118fdb2256f623ed0b6ebb137c81ffff948745f8c18e760076a27f4698df18529c4a4d0b4d33b3d00347d77ee593b12f7c39f09bc5c104b630701d
7
- data.tar.gz: e3d63bbb560db6bd203f2a7bae0ae9331417b3095a1374945a2bf26811be0f3a609094880ad25a8d9e641d752a3b953c930946781e932a0dbe23f61b3c11124a
6
+ metadata.gz: f47bb674362fbcfdea222f6248f1b35c39259775dcc83b8cb83506a20359cf4af3e35c0c3d6a4e9ea71d1ca7f580c424e70f619e749b64646fe2a63a0681467d
7
+ data.tar.gz: e10b2ab2f3e40ef4ec2a07a898391fca15fc5356d73fbede724bbe264ed566ca4bd64795f6accd3fe5a5d8b2bbfb8b8bd8ee18a1cd859b9125e1bea1ed765e06
@@ -2,8 +2,8 @@ module CagnutSamtools
2
2
  module CheckTools
3
3
  def check_tool tools_path, refs
4
4
  super if defined?(super)
5
- check_samtools tools_path['samtools']
6
- check_samtools_index refs['ref_fasta']
5
+ ver = check_samtools tools_path['samtools']
6
+ check_samtools_index refs['ref_fasta'] if !ver.blank?
7
7
  end
8
8
 
9
9
  def check_samtools path
@@ -1,3 +1,3 @@
1
1
  module CagnutSamtools
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -12,5 +12,6 @@ module CagnutSamtools
12
12
  end
13
13
 
14
14
  require 'cagnut_samtools/configuration'
15
+ require 'cagnut_samtools/check_tools'
15
16
  require 'cagnut_samtools/base'
16
17
  require 'cagnut_samtools/util'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cagnut_samtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shi-Gang Wang
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-11-01 00:00:00.000000000 Z
12
+ date: 2016-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cagnut_core