Incorrect validation processing of a substance with a clear indication of the type.
Open
- 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.