When saving structures in different file formats, errors are displayed
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Expected behavior**
When saving structures in different file formats, errors are not displayed (in case of error, the error message is clear to a user and indicates a specific problem occurred). All warning information is indicated in the Warnings
**Actual behavior**
When saving structures in different file formats, errors are displayed
_**Case 1: Saving structure with atom type List in the "Daylight SMILES" or the "Extended SMILES" file format**_
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any atom of this Template and click on the "Edit" button in the context menu
5. Select the "List" in the "Atom Type" drop-down
6. Select any two atoms in the "List" field
7. Click on the "Apply" button
8. Click on the "Save as" button
9. Select the "Daylight SMILES" or the "Extended SMILES" in the "File format" drop-down
**Attachments**
**_Case 2: Saving structure with atom type List in the "InChi", or the "InChi AuxInfo", or the "InChiKey" file format_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any atom of this Template and click on the "Edit" button in the context menu
5. Select the "List" in the "Atom Type" drop-down
6. Select any two atoms in the "List" field
7. Click on the "Apply" button
8. Click on the "Save as" button
9. Select the "InChi", or the "InChi AuxInfo", or the "InChiKey" in the "File format" drop-down
**Attachments**
**_Case 3: Saving structure with atom type List in the "Base64 CDX" or the "CDX" file format_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any atom of this Template and click on the "Edit" button in the context menu
5. Select the "List" in the "Atom Type" drop-down
6. Select any two atoms in the "List" field
7. Click on the "Apply" button
8. Click on the "Save as" button
9. Select the "Base64 CDX" or the "CDX" in the "File format" drop-down
**Attachments**
**_Case 4: Saving structure with atom Custom Query in the "InChi", or the "InChi AuxInfo", or the "InChiKey" file format_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any atom of this Template and click on the "Edit" button in the context menu
5. Check a tick in the "Custom Query" checkbox
6. Click on the "Apply" button
7. Click on the "Save as" button
8. Select the "InChi", or the "InChi AuxInfo", or the "InChiKey" in the "File format" drop-down
**Attachments**
**_Case 5: Saving structure with Atom type Special in the "InChi", or the "InChi AuxInfo", or the "InChiKey" file format_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any atom of this Template and click on the "Edit" button in the context menu
5. Select the "Special" in the "Atom Type" drop-down
6. Select any atom in the "Special" field
7. Click on the "Apply" button
8. Click on the "Save as" button
9. Select the "InChi", or the "InChi AuxInfo", or the "InChiKey" in the "File format" drop-down
**Attachments**
**_Case 6: Saving structure with Bond/Topology in the "InChi", or the "InChi AuxInfo", or the "InChiKey" file format_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any bond of this Template and click on the "Edit" button in the context menu
5. Select "Ring" or "Chain" in the "Topology" drop-down
6. Click on the "Apply" button
7. Click on the "Save as" button
8. Select the "InChi", or the "InChi AuxInfo", or the "InChiKey" in the "File format" drop-down
**Attachments**
**_Case 7: Saving structure with Bond/Custom Query_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any bond of this Template and click on the "Edit" button in the context menu
5. Check a tick in the "Custom Query" checkbox
6. Click on the "Apply" button
7. Click on the "Save as" button
**Attachments**
**_Case 8: Saving structure with Bond type (Double Cis/Trans, Hydrogen, Dative, Single Up, Single Down, Any, Single/Double, Single/Aromatic, Double /Aromatic) in the "InChi", or the "InChi AuxInfo", or the "InChiKey" file format_**
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any bond of this Template and click on the "Edit" button in the context menu
5. Select one any bond of these bond types in the "Type" drop-down (Double Cis/Trans, Hydrogen, Dative, Single Up, Single Down, Any, Single/Double, Single/Aromatic, Double /Aromatic)
6. Click on the "Apply" button
7. Click on the "Save as" button
9. Select the "InChi", or the "InChi AuxInfo", or the "InChiKey" in the "File format" drop-down
**Attachments**
_**Case 9: Saving structure with Bond type Single Up or Single Down in the "Daylight SMARTS" file format**_
**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw any Template (like Benzene) on the canvas
4. Right-click on any bond of this Template and click on the "Edit" button in the context menu
5. Select "Single Up" or "Single Down" bond type in the "Type" drop-down
6. Click on the "Apply" button
7. Click on the "Save as" button
8. Select the "Daylight SMARTS" in the "File format" drop-down
**Attachments**
**Indigo/Bingo version** 1.14.0-rc.5.1
**Desktop**
• OS: Windows 10 Pro (version 22H2) x64
• Browser: Сhrome
• Version: (117.0.5938.152) x64
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.