Skip to content

Commit

Permalink
sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
even1024 committed Dec 27, 2023
1 parent cdb3300 commit 6fd28e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/indigo-service/backend/service/v2/indigo_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@ def load_moldata(
if input_format in ("smarts", "chemical/x-daylight-smarts"):
md.struct = indigo.loadSmarts(molstr)
md.is_query = True
elif input_format in ("chemical/x-peptide-sequence"):
elif input_format == "chemical/x-peptide-sequence":
md.struct = indigo.loadSequence(molstr, "PEPTIDE")
md.is_rxn = False
md.is_query = False
elif input_format in ("chemical/x-rna-sequence"):
elif input_format == "chemical/x-rna-sequence":
md.struct = indigo.loadSequence(molstr, "RNA")
md.is_rxn = False
md.is_query = False
elif input_format in ("chemical/x-dna-sequence"):
elif input_format == "chemical/x-dna-sequence":
md.struct = indigo.loadSequence(molstr, "DNA")
md.is_rxn = False
md.is_query = False
Expand Down

0 comments on commit 6fd28e6

Please sign in to comment.