Skip to content

Commit

Permalink
Merge pull request #74 from ghutchis/automated-contributors
Browse files Browse the repository at this point in the history
Add "saving" to getting started as well as naming tutorial
  • Loading branch information
ghutchis authored Nov 28, 2023
2 parents 80e6489 + b27b71c commit 7ec070c
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 9 deletions.
Binary file added source/_static/Analysis-MoleculeProperties.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/_static/Ligand-CentroidMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/NamingEthane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/NamingSubstituted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/_static/OtherFunctionalGroup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/_static/Template-LigandPerpendicular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/_static/tutorial-save.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions source/docs/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* [Introduction](introduction)
* [Drawing Molecules](drawing-molecules)
* [Making Selections](making-selections)
* [Saving Files](saving-files)

```{toctree}
---
Expand All @@ -13,4 +14,5 @@ hidden: true
introduction
drawing-molecules
making-selections
saving-files
```
20 changes: 20 additions & 0 deletions source/docs/getting-started/saving-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Saving Files

By default, Avogadro saves files to "native" formats CJSON (Chemical JSON) and CML (Chemical Markup Language), which store as much chemical information as possible.

![Screenshot indicating File => Save and Save As menu items](../../_static/tutorial-save.png)

In particular the default [Chemical JSON](https://github.com/OpenChemistry/chemicaljson) format will retain atoms, bond orders, formal charges, unit cell parameters, space group information, surfaces, orbitals, vibrations and other spectra, selections, custom colors, etc.

## Exporting to Other Formats

If you wish to **export** to other formats (e.g., XYZ, PDB, SDF, etc.) use
File => Export => Molecule…

![Screenshot indicating File => Export => Molecule menu item](../../_static/FileExportMolecule.png)

Avogadro uses support for [Open Babel](https://openbabel.org/) to write to over 100 different chemical file formats.

```{tip} **New in 2.0**
We separated the "export" to other formats into a new command because users would be surprised when saving to some formats (e.g., XYZ, PDB) and bond orders or other information would be lost.
```
4 changes: 1 addition & 3 deletions source/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
(Guide)=

# User Guide

## Avogadro: Molecular Editor and Visualization
# Introduction

Avogadro is a free, open source molecular editor and visualization tool, designed for use on Mac, Windows, and Linux in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas. It offers flexible high quality rendering and a powerful plugin architecture.

Expand Down
12 changes: 6 additions & 6 deletions source/docs/tutorials/naming-a-molecule.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

Avogadro includes support for naming compounds using the PubChem database, which includes over 112 million compounds. Since these are deposited by chemical suppliers, pharmaceutical companies, etc. the database may not cover _**every**_ molecule you may build, but includes a broad selection of compounds.

![](../../_static/media\_1340251460215.png)
Open up the Molecule Properties window, under the Analysis menu.

Open up the Molecule Properties window, under the View menu.

![](../../_static/media\_1340251491638.png)
![](../../_static/Analysis-MoleculeProperties.png)

The IUPAC name will initially show as (pending) while the server returns the name, (unknown) if the molecule is not found in the resolver, or (unavailable) if your network connection is down or the resolver service is otherwise unreachable.

![](../../_static/media\_1340251768869.png)
![](../../_static/NamingEthane.png)

As you modify the molecule (e.g., adding a Br atom or two), the name will update automatically with the other properties, albeit while temporarily showing (pending)

As you modify the molecule (e.g., adding a Cl atom), the name will update automatically with the other properties, albeit while temporarily showing (pending)
![](../../_static/NamingSubstituted.png)

0 comments on commit 7ec070c

Please sign in to comment.