-
Notifications
You must be signed in to change notification settings - Fork 24
/
__init__.py
359 lines (357 loc) · 9.25 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
from scm.plams.version import __version__
from scm.plams.core.basejob import MultiJob, SingleJob
from scm.plams.core.enums import JobStatus
from scm.plams.core.errors import (
FileError,
JobError,
MoleculeError,
PlamsError,
PTError,
ResultsError,
TrajectoryError,
UnitsError,
MissingOptionalPackageError,
)
from scm.plams.core.functions import (
add_to_class,
add_to_instance,
config,
delete_job,
finish,
init,
load,
load_all,
log,
read_all_molecules_in_xyz_file,
read_molecules,
)
from scm.plams.core.jobmanager import JobManager
from scm.plams.core.jobrunner import GridRunner, JobRunner
from scm.plams.core.results import Results
from scm.plams.core.settings import (
Settings,
SafeRunSettings,
LogSettings,
RunScriptSettings,
JobSettings,
JobManagerSettings,
ConfigSettings,
)
from scm.plams.interfaces.adfsuite.ams import AMSJob, AMSResults
from scm.plams.interfaces.adfsuite.amsanalysis import (
AMSAnalysisJob,
AMSAnalysisResults,
convert_to_unicode,
)
from scm.plams.interfaces.adfsuite.amspipeerror import (
AMSPipeDecodeError,
AMSPipeError,
AMSPipeInvalidArgumentError,
AMSPipeLogicError,
AMSPipeRuntimeError,
AMSPipeUnknownArgumentError,
AMSPipeUnknownMethodError,
AMSPipeUnknownVersionError,
)
from scm.plams.interfaces.adfsuite.amsworker import (
AMSWorker,
AMSWorkerError,
AMSWorkerPool,
AMSWorkerResults,
)
from scm.plams.interfaces.adfsuite.crs import CRSJob, CRSResults
from scm.plams.interfaces.adfsuite.densf import DensfJob, DensfResults
from scm.plams.interfaces.adfsuite.fcf import FCFJob, FCFResults
from scm.plams.interfaces.adfsuite.forcefieldparams import (
ForceFieldPatch,
forcefield_params_from_kf,
)
from scm.plams.interfaces.adfsuite.quickjobs import (
preoptimize,
refine_density,
refine_lattice,
)
from scm.plams.interfaces.adfsuite.unifac import UnifacJob, UnifacResults
from scm.plams.interfaces.molecule.ase import fromASE, toASE
from scm.plams.interfaces.molecule.packmol import (
PackMolError,
packmol,
packmol_microsolvation,
packmol_on_slab,
packmol_in_void,
)
from scm.plams.interfaces.molecule.rdkit import (
add_Hs,
apply_reaction_smarts,
apply_template,
canonicalize_mol,
from_rdmol,
from_sequence,
from_smarts,
from_smiles,
gen_coords_rdmol,
get_backbone_atoms,
get_conformations,
get_substructure,
modify_atom,
partition_protein,
readpdb,
to_rdmol,
to_smiles,
writepdb,
yield_coords,
)
from scm.plams.interfaces.thirdparty.cp2k import Cp2kJob, Cp2kResults, Cp2kSettings2Mol
from scm.plams.interfaces.thirdparty.crystal import CrystalJob, mol2CrystalConf
from scm.plams.interfaces.thirdparty.dftbplus import DFTBPlusJob, DFTBPlusResults
from scm.plams.interfaces.thirdparty.dirac import DiracJob, DiracResults
from scm.plams.interfaces.thirdparty.gamess import GamessJob
from scm.plams.interfaces.thirdparty.orca import ORCAJob, ORCAResults
from scm.plams.interfaces.thirdparty.raspa import RaspaJob, RaspaResults
from scm.plams.interfaces.thirdparty.vasp import VASPJob, VASPResults
from scm.plams.mol.atom import Atom
from scm.plams.mol.bond import Bond
from scm.plams.mol.identify import label_atoms
from scm.plams.mol.molecule import Molecule
from scm.plams.mol.pdbtools import PDBHandler, PDBRecord
from scm.plams.recipes.adffragment import ADFFragmentJob, ADFFragmentResults
from scm.plams.recipes.adfnbo import ADFNBOJob
from scm.plams.recipes.md.amsmdjob import AMSMDJob, AMSNVEJob, AMSNVTJob, AMSNPTJob
from scm.plams.recipes.md.nvespawner import AMSNVESpawnerJob
from scm.plams.recipes.md.trajectoryanalysis import AMSRDFJob, AMSVACFJob, AMSMSDJob
from scm.plams.recipes.md.scandensity import AMSMDScanDensityJob
from scm.plams.recipes.numgrad import NumGradJob
from scm.plams.recipes.numhess import NumHessJob
from scm.plams.recipes.pestools.optimizer import Optimizer
from scm.plams.recipes.reorganization_energy import ReorganizationEnergyJob
from scm.plams.recipes.redox import AMSRedoxDirectJob, AMSRedoxScreeningJob, AMSRedoxThermodynamicCycleJob
from scm.plams.tools.reaction import ReactionEquation
from scm.plams.tools.converters import (
file_to_traj,
gaussian_output_to_ams,
qe_output_to_ams,
rkf_to_ase_atoms,
rkf_to_ase_traj,
traj_to_rkf,
vasp_output_to_ams,
)
from scm.plams.tools.geometry import (
angle,
axis_rotation_matrix,
cell_shape,
cellvectors_from_shape,
dihedral,
distance_array,
rotation_matrix,
)
from scm.plams.tools.kftools import KFFile, KFHistory, KFReader
from scm.plams.tools.periodic_table import PT, PeriodicTable
from scm.plams.tools.plot import (
plot_band_structure,
plot_molecule,
plot_correlation,
get_correlation_xy,
plot_msd,
plot_work_function,
)
from scm.plams.tools.reaction_energies import (
balance_equation,
balance_equation_new,
get_stoichiometry,
reaction_energy,
)
from scm.plams.tools.units import Units
from scm.plams.trajectories.dcdfile import DCDTrajectoryFile
from scm.plams.trajectories.rkffile import (
RKFTrajectoryFile,
write_general_section,
write_molecule_section,
)
from scm.plams.trajectories.rkfhistoryfile import (
RKFHistoryFile,
molecules_to_rkf,
rkf_filter_regions,
)
from scm.plams.trajectories.sdffile import SDFTrajectoryFile, create_sdf_string
from scm.plams.trajectories.sdfhistoryfile import SDFHistoryFile
from scm.plams.trajectories.trajectory import Trajectory
from scm.plams.trajectories.trajectoryfile import TrajectoryFile
from scm.plams.trajectories.xyzfile import XYZTrajectoryFile, create_xyz_string
from scm.plams.trajectories.xyzhistoryfile import XYZHistoryFile
__all__ = [
"Results",
"JobRunner",
"GridRunner",
"init",
"finish",
"log",
"load",
"load_all",
"delete_job",
"add_to_class",
"add_to_instance",
"config",
"read_molecules",
"read_all_molecules_in_xyz_file",
"JobManager",
"Settings",
"SafeRunSettings",
"LogSettings",
"RunScriptSettings",
"JobSettings",
"JobManagerSettings",
"ConfigSettings",
"SingleJob",
"MultiJob",
"JobStatus",
"PlamsError",
"FileError",
"ResultsError",
"JobError",
"PTError",
"UnitsError",
"MoleculeError",
"TrajectoryError",
"Bond",
"label_atoms",
"PDBRecord",
"PDBHandler",
"Molecule",
"Atom",
"GamessJob",
"DiracJob",
"DiracResults",
"RaspaJob",
"RaspaResults",
"CrystalJob",
"mol2CrystalConf",
"DFTBPlusJob",
"DFTBPlusResults",
"Cp2kJob",
"Cp2kResults",
"Cp2kSettings2Mol",
"VASPJob",
"VASPResults",
"ORCAJob",
"ORCAResults",
"CRSResults",
"CRSJob",
"AMSPipeError",
"AMSPipeDecodeError",
"AMSPipeLogicError",
"AMSPipeRuntimeError",
"AMSPipeUnknownVersionError",
"AMSPipeUnknownMethodError",
"AMSPipeUnknownArgumentError",
"AMSPipeInvalidArgumentError",
"MissingOptionalPackageError",
"ForceFieldPatch",
"forcefield_params_from_kf",
"AMSWorker",
"AMSWorkerResults",
"AMSWorkerError",
"AMSWorkerPool",
"DensfJob",
"DensfResults",
"FCFJob",
"FCFResults",
"AMSAnalysisJob",
"AMSAnalysisResults",
"convert_to_unicode",
"preoptimize",
"refine_density",
"refine_lattice",
"UnifacJob",
"UnifacResults",
"AMSJob",
"AMSResults",
"toASE",
"fromASE",
"packmol",
"packmol_on_slab",
"packmol_microsolvation",
"packmol_in_void",
"PackMolError",
"add_Hs",
"apply_reaction_smarts",
"apply_template",
"gen_coords_rdmol",
"get_backbone_atoms",
"modify_atom",
"to_rdmol",
"from_rdmol",
"from_sequence",
"from_smiles",
"from_smarts",
"to_smiles",
"partition_protein",
"readpdb",
"writepdb",
"get_substructure",
"get_conformations",
"yield_coords",
"canonicalize_mol",
"KFFile",
"KFReader",
"KFHistory",
"traj_to_rkf",
"vasp_output_to_ams",
"qe_output_to_ams",
"gaussian_output_to_ams",
"rkf_to_ase_traj",
"rkf_to_ase_atoms",
"file_to_traj",
"Units",
"rotation_matrix",
"axis_rotation_matrix",
"distance_array",
"angle",
"dihedral",
"cell_shape",
"cellvectors_from_shape",
"get_stoichiometry",
"balance_equation",
"reaction_energy",
"PeriodicTable",
"PT",
"plot_band_structure",
"plot_molecule",
"get_correlation_xy",
"plot_correlation",
"plot_msd",
"plot_work_function",
"SDFTrajectoryFile",
"create_sdf_string",
"XYZHistoryFile",
"Trajectory",
"TrajectoryFile",
"RKFTrajectoryFile",
"write_general_section",
"write_molecule_section",
"DCDTrajectoryFile",
"RKFHistoryFile",
"molecules_to_rkf",
"rkf_filter_regions",
"XYZTrajectoryFile",
"create_xyz_string",
"SDFHistoryFile",
"ReorganizationEnergyJob",
"ADFFragmentJob",
"ADFFragmentResults",
"ADFNBOJob",
"AMSMDJob",
"AMSNVEJob",
"AMSNVTJob",
"AMSNPTJob",
"AMSNVESpawnerJob",
"AMSMDScanDensityJob",
"AMSRDFJob",
"AMSMSDJob",
"AMSVACFJob",
"NumGradJob",
"NumHessJob",
"Optimizer",
"AMSRedoxDirectJob",
"AMSRedoxScreeningJob",
"AMSRedoxThermodynamicCycleJob",
]