diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-10-07 12:34:02 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-10-07 12:34:02 +0200 |
commit | 8d2f1c8a0f6cc9f7a481d1117bf8b3351130b1ea (patch) | |
tree | e02208fee7d7548270e23aa37c7505691f3c5cde /lib/feature.rb | |
parent | be95000d7c14174286ddc8f1717c4b6c46e0c1cc (diff) |
generalised fingerprints
Diffstat (limited to 'lib/feature.rb')
-rw-r--r-- | lib/feature.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/feature.rb b/lib/feature.rb index 6fc2c06..13fa6d1 100644 --- a/lib/feature.rb +++ b/lib/feature.rb @@ -47,6 +47,7 @@ module OpenTox class FingerprintSmarts < Smarts field :count, type: Integer def self.fingerprint +=begin @@fp4 ||= OpenTox::FingerprintSmarts.all unless @@fp4.size == 306 @@fp4 = [] @@ -72,6 +73,7 @@ module OpenTox end end @@fp4 +=end end end |