diff options
author | Christoph Helma <helma@in-silico.ch> | 2018-11-06 19:00:37 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2018-11-06 19:00:37 +0100 |
commit | 10dc2ebb982057da6501d6072f165fe21061483e (patch) | |
tree | ce3a54c17154f243ba0ad4dcfed78072f53e321c /scripts | |
parent | 0ce24c3e1303ef58b7d395ca49f7c04be18233bd (diff) |
sdf export fixed, cleanup
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/export.rb (renamed from scripts/export-sdf.rb) | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/export-sdf.rb b/scripts/export.rb index 51dd552..87e2921 100755 --- a/scripts/export-sdf.rb +++ b/scripts/export.rb @@ -2,6 +2,5 @@ require_relative '../../lazar/lib/lazar' include OpenTox -ext = File.extname(ARGV[0]).sub('.','') dataset = Dataset.find File.read(ARGV[0]).chomp -puts dataset.to_sdf +puts dataset.send("to_#{ARGV[1]}") |