genevalidator 1.6.10 → 1.6.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 385bdeb501c790a57b5fd22fb431f8fcbff04b4f
4
- data.tar.gz: 38297d81546366272db08cb00a7f2a4ae3319026
3
+ metadata.gz: a7c1ad55ab9a31a54b755f73eba90c6c8d0a71ac
4
+ data.tar.gz: ab0a311e92cdfcfbeaddbfda72aa254f623acd80
5
5
  SHA512:
6
- metadata.gz: 1bfbc522536e0a08bbed42adba67110dd9193c315c3446dbfee1b54e3bce2e3b71ade70a8b18a28b232e952c4ca25f3a12bf166ca398bed8f67b9e740b7196f1
7
- data.tar.gz: 388ed6ee18a07bec1ccecf71c3c99b6aad76da5a2c65255c0bc16fb489850a349056b2374a209d2052bd1a2fbe0a0fd17e298d75c3d433912c39277040a810e9
6
+ metadata.gz: 338f1e866b2ada764e5974699a362461df3fb244c08464b26ed5d7d1b8659ac9559ef0dc7d50e5fd2ebc4ae5eae376cbc2e32dbe1753a333b2cba1965a9ded07
7
+ data.tar.gz: 3aeab68cb1f421a2053f0d388a452aa9fb385880d7a3e937bfd6e66ee5f0891a34e81b36d88382b0089f7e6123e2b1fa4b56ce733768bae697e87ea9209e5791
@@ -25,9 +25,15 @@ module GeneValidator
25
25
  end
26
26
 
27
27
  def explain
28
- "#{@exons}% of exons match an EST/mRNA-seq alignment and" \
29
- " #{@splice_sites}% of splice sites are confirmed by EST/mRNA-seq" \
30
- " alignment."
28
+ if @splice_sites == -100
29
+ "#{@exons}% of exons match an EST/mRNA-seq alignment." \
30
+ " No splice sites were identified and as such cannot be confirmed by" \
31
+ " an EST/mRNA-seq alignment."
32
+ else
33
+ "#{@exons}% of exons match an EST/mRNA-seq alignment and" \
34
+ " #{@splice_sites}% of splice sites are confirmed by EST/mRNA-seq" \
35
+ " alignment."
36
+ end
31
37
  end
32
38
 
33
39
  def conclude
@@ -98,11 +104,11 @@ module GeneValidator
98
104
  @validation_report = ValidationReport.new('No MAKER Quality Index',
99
105
  :warning, @short_header,
100
106
  @header, @description)
101
- rescue
102
- @validation_report = ValidationReport.new('Unexpected error', :error,
103
- @short_header, @header,
104
- @description)
105
- @validation_report.errors.push 'Unexpected Error'
107
+ # rescue
108
+ # @validation_report = ValidationReport.new('Unexpected error', :error,
109
+ # @short_header, @header,
110
+ # @description)
111
+ # @validation_report.errors.push 'Unexpected Error'
106
112
  end
107
113
  end
108
114
  end
@@ -1,3 +1,3 @@
1
1
  module GeneValidator
2
- VERSION = '1.6.10'
2
+ VERSION = '1.6.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genevalidator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.10
4
+ version: 1.6.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monica Dragan