epam / epam/Indigo

Incorrect validation processing of a substance with a clear indication of the type.

Open
#826 2 comments 0 reactions 1 assignee Claimed by @even1024 View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
Request on `/indigo/validate`
```
{
"data": {
"type": "validation",
"attributes": {
"compound": {
"structure": "C(#N)C1C(Cl)=C(Cl)C(O)=C(C(O)=N)C=1Cl",
"format": "molfile"
},
"validations": [
"query"
]
}
}
}
```

**Expected behavior**
Error due to format and query string mismatch (smiles vs molfile)

**Actual behavior**
Validation is successful.

**Indigo/Bingo version**
1.7.0.0-geeba23428-x86_64-linux-gnu-11.2.1

**Additional context**
Also the inchi format is handled incorrectly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.