kazius-alerts 0.0.1 → 0.0.2

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: fd5c89372096f5368e0a985fd5aa755be37784ea
4
- data.tar.gz: 2d4e65adeff7ed18b4bad037cd67f83c3d1884b9
3
+ metadata.gz: ba2cafb54566132460fa4e563797a6204ef83a92
4
+ data.tar.gz: 4214c7d9c994825f4afbeb07d362404639fbefa8
5
5
  SHA512:
6
- metadata.gz: 627e56312fa5e7bf364c18e447efc2ec96327d9ff67625bb62e64fcd7d8a7e0bab1f2bb38924fb2b99a34c9d73c5e5ae1c2518ec2aa5047a73c1c40f9dfe2359
7
- data.tar.gz: 4bcb57fdb14ec488fd19488cb28c1fbbb3aac68e9e35b32bb17fd42bf516819af824896f78cb69e0b50b9435c048356edaffeef2315bc4754401379de6801ada
6
+ metadata.gz: 3f57d339012d63d058dc7a7e1e602b66365fbc45346aa13dc16a805af8687fa677e0726600cab74ef741e5c7007c3f3b5329ff60e1c230885e531f6d0a42a63f
7
+ data.tar.gz: a4bf054c5d1a8f5512ae96d0af8af611615bea56a648518ec51269cd1b5a3d4b3a693dc1da533c23bec71ceb05245d4cf00b8818c1b4cdc850dea3347a73be61
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "kazius-alerts"
3
- s.version = "0.0.1"
3
+ s.version = "0.0.2"
4
4
  s.authors = ["Christoph Helma"]
5
5
  s.email = ["helma@in-silico.ch"]
6
6
  s.homepage = "http://github.com/opentox/kazius-alerts"
data/lib/kazius-alerts.rb CHANGED
@@ -1,4 +1,4 @@
1
- re 'openbabel'
1
+ require 'openbabel'
2
2
 
3
3
  class KaziusAlerts
4
4
 
@@ -70,6 +70,7 @@ X2,X3]2~[X2,X3]1~[X2,X3]~[X2,X3]~[X2,X3]3~[X2,X3]2~[X2,X3]~[X2,X3]~[X2,X3]3),$([
70
70
  smarts_pattern.init sma[1]
71
71
  matches << sma if smarts_pattern.match(mol)
72
72
  end
73
+ end
73
74
 
74
75
  matches.each { |m| error_product *= error(m) }
75
76
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kazius-alerts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Helma