summaryrefslogtreecommitdiff
path: root/lib/compound.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compound.rb')
-rw-r--r--lib/compound.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/compound.rb b/lib/compound.rb
index 6834860..a85507b 100644
--- a/lib/compound.rb
+++ b/lib/compound.rb
@@ -68,6 +68,12 @@ module OpenTox
c
end
+ # Get InChI
+ # @return [String] InChI string
+ def to_inchi
+ @inchi
+ end
+
# Get (canonical) smiles
# @return [String] Smiles string
def to_smiles