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 +4 -4
- data/kazius-alerts.gemspec +1 -1
- data/lib/kazius-alerts.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba2cafb54566132460fa4e563797a6204ef83a92
|
4
|
+
data.tar.gz: 4214c7d9c994825f4afbeb07d362404639fbefa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f57d339012d63d058dc7a7e1e602b66365fbc45346aa13dc16a805af8687fa677e0726600cab74ef741e5c7007c3f3b5329ff60e1c230885e531f6d0a42a63f
|
7
|
+
data.tar.gz: a4bf054c5d1a8f5512ae96d0af8af611615bea56a648518ec51269cd1b5a3d4b3a693dc1da533c23bec71ceb05245d4cf00b8818c1b4cdc850dea3347a73be61
|
data/kazius-alerts.gemspec
CHANGED
data/lib/kazius-alerts.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
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
|
|