megane-viewer 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/{gif-BkoUK__l.js → gif-Cy2524g7.js} +1 -1
- package/dist/lib-DHX1_72p.js +21334 -0
- package/dist/lib.js +30 -31
- package/dist/megane-viewer.css +1 -1
- package/dist/megane_wasm-BzxkVXwO.js +471 -0
- package/dist/widget.js +23976 -22883
- package/package.json +38 -4
- package/dist/lib-Bf1GV7sy.js +0 -19601
- package/dist/megane_wasm-BO5Sx0-Z.js +0 -464
package/README.md
CHANGED
|
@@ -49,9 +49,12 @@ One codebase, every environment.
|
|
|
49
49
|
| Environment | How | Install |
|
|
50
50
|
|---|---|---|
|
|
51
51
|
| **Jupyter** | anywidget inline viewer | `pip install megane` |
|
|
52
|
+
| **JupyterLab** | Open .pdb, .gro, .xyz, .mol, .sdf, .cif from the file browser | `pip install megane` |
|
|
52
53
|
| **Browser** | `megane serve` local server | `pip install megane` |
|
|
53
54
|
| **React** | `<MeganeViewer />` component | `npm install megane-viewer` |
|
|
54
|
-
| **VSCode** | Custom editor for .pdb, .gro, .xyz, .mol, .sdf
|
|
55
|
+
| **VSCode** | Custom editor for .pdb, .gro, .xyz, .mol, .sdf | Extension |
|
|
56
|
+
|
|
57
|
+
For a per-platform breakdown of supported formats and UI features (including known gaps), see [Platform Support](https://hodakamori.github.io/megane/platform-support).
|
|
55
58
|
|
|
56
59
|
The secret: PDB, GRO, XYZ, MOL, CIF, XTC, LAMMPS, and ASE .traj parsers are written in **Rust** and compiled to both **PyO3** (Python) and **WASM** (browser). Parse once, run anywhere.
|
|
57
60
|
|
|
@@ -154,6 +157,7 @@ function App() {
|
|
|
154
157
|
| GRO | `.gro` | GROMACS structure file |
|
|
155
158
|
| XYZ | `.xyz` | Cartesian coordinate format |
|
|
156
159
|
| MOL/SDF | `.mol`, `.sdf` | MDL Molfile (V2000) |
|
|
160
|
+
| MOL2 | `.mol2` | Tripos MOL2 (multi-molecule, aromatic bonds) |
|
|
157
161
|
| LAMMPS data | `.data`, `.lammps` | LAMMPS data file |
|
|
158
162
|
| CIF | `.cif` | Crystallographic Information File |
|
|
159
163
|
|