Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
signaturizer
Commits
2988e8da
Commit
2988e8da
authored
Nov 17, 2020
by
Martino Bertoni
🌋
Browse files
input of predict can be a single string molecule
parent
198a77fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
signaturizer/signaturizer.py
View file @
2988e8da
...
...
@@ -140,6 +140,9 @@ class Signaturizer(object):
results: `SignaturizerResult` class. The ordering of input SMILES
is preserved.
"""
# input must be a list, otherwise we make it so
if
isinstance
(
molecules
,
str
):
molecules
=
[
molecules
]
# convert input molecules to InChI
inchies
=
list
()
if
keytype
.
upper
()
==
'SMILES'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment