diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-05-25 19:06:31 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-05-25 19:06:31 +0200 |
commit | 246b58b92fe28c2c7d001d0fd2f1d2f66dd7ecea (patch) | |
tree | 9a33f762a6a78b6dc3b8c6fc0d5125c09dcca6ff /lazar.rb | |
parent | 0a56b6fa7ae6a452bfc2928faca70b72e5383ec2 (diff) |
fix for rdf/xml serialisation (commented, to be tested)
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,6 +46,11 @@ class Lazar < Model :confidence => conf, :similarities => similarities, :features => compound_matches + # uncomment to enable owl-dl serialisation of predictions + # url_for("/lazar#classification") => classification, + # url_for("/lazar#confidence") => conf, + # url_for("/lazar#similarities") => similarities, + # url_for("/lazar#features") => compound_matches } prediction.data[compound_uri] << {feature_uri => tuple} end |