openchemlib 7.4.2 → 8.0.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 +23 -23
- package/core.d.ts +2 -1
- package/dist/openchemlib-core.js +143 -142
- package/dist/openchemlib-full.js +157 -154
- package/dist/openchemlib-full.pretty.js +23093 -19377
- package/dist/openchemlib-minimal.js +110 -107
- package/minimal.d.ts +1 -1
- package/package.json +10 -7
- package/types.d.ts +176 -134
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
[![npm download][download-image]][download-url]
|
|
6
6
|
[](https://www.zenodo.org/badge/latestdoi/23346814)
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
JavaScript port of the [OpenChemLib](https://github.com/actelion/openchemlib) Java library.
|
|
10
9
|
|
|
11
10
|
## Installation
|
|
@@ -29,44 +28,45 @@ if bundle size matters and prediction functionalities are not needed.
|
|
|
29
28
|
The `full` build (`require('openchemlib/full')`) build is the largest build.
|
|
30
29
|
It contains a structure viewer and a structure editor for browser applications.
|
|
31
30
|
|
|
32
|
-
- [TypeDoc home page](https://cheminfo.github.io/openchemlib-js/
|
|
31
|
+
- [TypeDoc home page](https://cheminfo.github.io/openchemlib-js/index.html)
|
|
33
32
|
|
|
34
33
|
### Modules present in minimal, core and full builds
|
|
35
34
|
|
|
36
|
-
- [Molecule](https://cheminfo.github.io/openchemlib-js/classes/
|
|
37
|
-
- [Reaction](https://cheminfo.github.io/openchemlib-js/classes/
|
|
38
|
-
- [RingCollection](https://cheminfo.github.io/openchemlib-js/classes/
|
|
39
|
-
- [SDFileParser](https://cheminfo.github.io/openchemlib-js/classes/
|
|
40
|
-
- [SSSearcher](https://cheminfo.github.io/openchemlib-js/classes/
|
|
41
|
-
- [SSSearcherWithIndex](https://cheminfo.github.io/openchemlib-js/classes/
|
|
42
|
-
- [Util](https://cheminfo.github.io/openchemlib-js/modules/
|
|
35
|
+
- [Molecule](https://cheminfo.github.io/openchemlib-js/classes/Molecule.html)
|
|
36
|
+
- [Reaction](https://cheminfo.github.io/openchemlib-js/classes/Reaction.html)
|
|
37
|
+
- [RingCollection](https://cheminfo.github.io/openchemlib-js/classes/RingCollection.html)
|
|
38
|
+
- [SDFileParser](https://cheminfo.github.io/openchemlib-js/classes/SDFileParser.html)
|
|
39
|
+
- [SSSearcher](https://cheminfo.github.io/openchemlib-js/classes/SSSearcher.html)
|
|
40
|
+
- [SSSearcherWithIndex](https://cheminfo.github.io/openchemlib-js/classes/SSSearcherWithIndex.html)
|
|
41
|
+
- [Util](https://cheminfo.github.io/openchemlib-js/modules/Util.html)
|
|
43
42
|
|
|
44
43
|
### Modules present only in core and full builds
|
|
45
44
|
|
|
46
|
-
- [
|
|
47
|
-
- [
|
|
48
|
-
- [
|
|
49
|
-
- [
|
|
50
|
-
- [
|
|
51
|
-
- [
|
|
45
|
+
- [CanonizerUtil](https://cheminfo.github.io/openchemlib-js/classes/CanonizerUtil.html)
|
|
46
|
+
- [ConformerGenerator](https://cheminfo.github.io/openchemlib-js/classes/ConformerGenerator.html)
|
|
47
|
+
- [DruglikenessPredictor](https://cheminfo.github.io/openchemlib-js/classes/DruglikenessPredictor.html)
|
|
48
|
+
- [DrugScoreCalculator](https://cheminfo.github.io/openchemlib-js/modules/DrugScoreCalculator.html)
|
|
49
|
+
- [ForceFieldMMFF94](https://cheminfo.github.io/openchemlib-js/classes/ForceFieldMMFF94.html)
|
|
50
|
+
- [MoleculeProperties](https://cheminfo.github.io/openchemlib-js/classes/MoleculeProperties.html)
|
|
51
|
+
- [ToxicityPredictor](https://cheminfo.github.io/openchemlib-js/classes/ToxicityPredictor.html)
|
|
52
52
|
|
|
53
53
|
### Modules present only in full build
|
|
54
54
|
|
|
55
|
-
- [StructureEditor](https://cheminfo.github.io/openchemlib-js/classes/
|
|
56
|
-
- [StructureView](https://cheminfo.github.io/openchemlib-js/modules/
|
|
57
|
-
- [SVGRenderer](https://cheminfo.github.io/openchemlib-js/modules/
|
|
55
|
+
- [StructureEditor](https://cheminfo.github.io/openchemlib-js/classes/StructureEditor.html)
|
|
56
|
+
- [StructureView](https://cheminfo.github.io/openchemlib-js/modules/StructureView.html)
|
|
57
|
+
- [SVGRenderer](https://cheminfo.github.io/openchemlib-js/modules/SVGRenderer.html)
|
|
58
58
|
|
|
59
59
|
## Development
|
|
60
60
|
|
|
61
61
|
To build this project, you need :
|
|
62
62
|
|
|
63
|
-
- Java JDK
|
|
64
|
-
- GWT 2.
|
|
65
|
-
- Node.js ([
|
|
63
|
+
- Java JDK (Tested with version 17)
|
|
64
|
+
- GWT (Tested with version 2.10, [Download build here](http://www.gwtproject.org/download.html))
|
|
65
|
+
- Node.js (Tested with version 18, [Dowload here](https://nodejs.org/en/download/))
|
|
66
66
|
|
|
67
67
|
### Install dependencies
|
|
68
68
|
|
|
69
|
-
`npm
|
|
69
|
+
`npm ci`
|
|
70
70
|
|
|
71
71
|
### Configure directories
|
|
72
72
|
|
|
@@ -105,7 +105,7 @@ Copy the required java files from the openchemlib project.
|
|
|
105
105
|
|
|
106
106
|
[npm-image]: https://img.shields.io/npm/v/openchemlib.svg
|
|
107
107
|
[npm-url]: https://www.npmjs.com/package/openchemlib
|
|
108
|
-
[ci-image]: https://github.com/cheminfo/openchemlib-js/workflows/Node.js%20CI/badge.svg?branch=
|
|
108
|
+
[ci-image]: https://github.com/cheminfo/openchemlib-js/workflows/Node.js%20CI/badge.svg?branch=main
|
|
109
109
|
[ci-url]: https://github.com/cheminfo/openchemlib-js/actions?query=workflow%3A%22Node.js+CI%22
|
|
110
110
|
[download-image]: https://img.shields.io/npm/dm/openchemlib.svg
|
|
111
111
|
[download-url]: https://www.npmjs.com/package/openchemlib
|
package/core.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './minimal';
|
|
2
2
|
export {
|
|
3
|
+
CanonizerUtil,
|
|
3
4
|
IParameterizedString,
|
|
4
5
|
MoleculeProperties,
|
|
5
6
|
DruglikenessPredictor,
|
|
@@ -7,5 +8,5 @@ export {
|
|
|
7
8
|
ToxicityPredictor,
|
|
8
9
|
IInitializeConformersOptions,
|
|
9
10
|
ConformerGenerator,
|
|
10
|
-
ForceFieldMMFF94
|
|
11
|
+
ForceFieldMMFF94,
|
|
11
12
|
} from './types';
|