summaryrefslogtreecommitdiff
path: root/scripts/convert_pa.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2018-10-07 19:39:34 +0200
committerChristoph Helma <helma@in-silico.ch>2018-10-07 19:39:34 +0200
commite97f7369339b215fda7d0169b567a211db6c5c38 (patch)
treebcd1592c2684527c18f0e5b18e4b4b948f031aa1 /scripts/convert_pa.rb
parentecc3b569aacdeea0c80af372a2fe70d8aea15f64 (diff)
Rakefile instead of Makefile and scripts
Diffstat (limited to 'scripts/convert_pa.rb')
-rwxr-xr-xscripts/convert_pa.rb12
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