diff options
author | Christoph Helma <helma@in-silico.ch> | 2017-01-11 16:00:07 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2017-01-11 16:00:07 +0100 |
commit | 85553b339acf3f9285a1c03b2fff342d9ddb9b6b (patch) | |
tree | a00b5879578ed07ed2bea7b67c8da3896b43bc5d /lib/import.rb | |
parent | f522a1089af8775798450b3f9f0aa4b579a3e1b5 (diff) |
documentation for all classes
Diffstat (limited to 'lib/import.rb')
-rw-r--r-- | lib/import.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/import.rb b/lib/import.rb index 7a68335..fd00fbe 100644 --- a/lib/import.rb +++ b/lib/import.rb @@ -1,12 +1,14 @@ module OpenTox + # Import data from external databases module Import class Enanomapper include OpenTox - # time critical step: JSON parsing (>99%), Oj brings only minor speed gains (~1%) + # Import from eNanoMapper def self.import + # time critical step: JSON parsing (>99%), Oj brings only minor speed gains (~1%) datasets = {} bundles = JSON.parse(RestClientWrapper.get('https://data.enanomapper.net/bundle?media=application%2Fjson'))["dataset"] bundles.each do |bundle| |