diff options
author | Christoph Helma <helma@in-silico.ch> | 2018-11-05 17:37:29 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2018-11-05 17:37:29 +0100 |
commit | 2361c6d9259e7ec8eea97f9bff3b24d105b3662a (patch) | |
tree | c8c6a869cf0af40b03ae4bd33ae48cbe4dfd5532 /scripts/import-pubchem.rb | |
parent | ba5372ce84bd89a937478d32eb067995214f1331 (diff) |
adjustments for latest lazar version
Diffstat (limited to 'scripts/import-pubchem.rb')
-rwxr-xr-x | scripts/import-pubchem.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/import-pubchem.rb b/scripts/import-pubchem.rb new file mode 100755 index 0000000..c18bc81 --- /dev/null +++ b/scripts/import-pubchem.rb @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby +require_relative '../../lazar/lib/lazar' +include OpenTox + +dataset = Dataset.send("from_pubchem_aid", ARGV[0]) +puts dataset.id.to_s + + |