Skip to content

Commit

Permalink
Merge pull request #57 from coltonbh/feature-conf-search-view-grid-view
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonbh authored Aug 17, 2024
2 parents 11b0da6 + c069b94 commit 96c7da4
Show file tree
Hide file tree
Showing 12 changed files with 1,725 additions and 542 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"classmethod",
"cmdline",
"conformerid",
"Dmol",
"dtype",
"ETKDG",
"figsize",
"freqs",
"getfixturevalue",
"HARTREE",
Expand Down Expand Up @@ -49,6 +51,7 @@
"terachem",
"traceback",
"vibmodes",
"viewergrid",
"wavenumber",
"wavenumbers"
]
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [unreleased]

### Changed

- `Structure` views now use `GridViewer` when laying out multiple structures with `py3Dmol` so as to use only one WebGL context for all images. This dramatically improves performance and reduces lag.
- Added `view_2d` option for viewing a `2D` image of a molecule rather than the `3D` viewer.

### Added

- View for `ConformerSearchResults`.

## [0.11.8] - 2024-08-13

### Added
Expand Down
1 change: 1 addition & 0 deletions docs/visualizations/U1-_confsearch-crest.json

Large diffs are not rendered by default.

1,117 changes: 1,117 additions & 0 deletions docs/visualizations/coreviews.ipynb

Large diffs are not rendered by default.

324 changes: 238 additions & 86 deletions docs/visualizations/programoutputs.ipynb

Large diffs are not rendered by default.

317 changes: 91 additions & 226 deletions docs/visualizations/structure.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,5 @@ nav:
- Overview: visualizations/overview.md
- Structure: visualizations/structure.ipynb
- ProgramOutputs: visualizations/programoutputs.ipynb
- Core Views: visualizations/coreviews.ipynb
- Changelog: https://github.com/coltonbh/qcio/blob/master/CHANGELOG.md
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ openbabel-wheel = { version = "^3.1.1.19", optional = true }
[tool.poetry.extras]
rdkit = ["rdkit"]
openbabel = ["openbabel-wheel"]
view = ["matplotlib", "ipython", "py3Dmol"]
view = ["matplotlib", "ipython", "py3Dmol", "rdkit"]
all = ["rdkit", "openbabel-wheel", "matplotlib", "ipython", "py3Dmol"]

[tool.poetry.group.dev.dependencies]
Expand Down
8 changes: 7 additions & 1 deletion qcio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
# Helper Structures
water = Structure(
symbols=["O", "H", "H"],
geometry=np.array([0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0, 1.0, 0.0]),
geometry=np.array(
[
[0.0253397, 0.01939466, -0.00696322],
[0.22889176, 1.84438441, 0.16251426],
[1.41760224, -0.62610794, -1.02954938],
]
),
charge=0,
multiplicity=1,
connectivity=[(0, 1, 1.0), (0, 2, 1.0)],
Expand Down
Loading

0 comments on commit 96c7da4

Please sign in to comment.