diff options
author | Christoph Helma <helma@in-silico.ch> | 2018-10-07 19:39:34 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2018-10-07 19:39:34 +0200 |
commit | e97f7369339b215fda7d0169b567a211db6c5c38 (patch) | |
tree | bcd1592c2684527c18f0e5b18e4b4b948f031aa1 /scripts/convert_pa.rb | |
parent | ecc3b569aacdeea0c80af372a2fe70d8aea15f64 (diff) |
Rakefile instead of Makefile and scripts
Diffstat (limited to 'scripts/convert_pa.rb')
-rwxr-xr-x | scripts/convert_pa.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/convert_pa.rb b/scripts/convert_pa.rb deleted file mode 100755 index 779aded..0000000 --- a/scripts/convert_pa.rb +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env ruby -require_relative '../../lazar/lib/lazar.rb' - -while STDIN.gets - tokens = $_.chomp.encode("UTF-8", {:invalid => :replace, :undef => :replace}).split(";") - begin - c = OpenTox::Compound.from_smiles tokens.last - puts "#{tokens[0]},#{c.smiles}" - rescue #=> e - STDERR.puts $_ - end -end |