nomad-parser-plugins-atomistic 1.0__py3-none-any.whl

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.
Files changed (80) hide show
  1. atomisticparsers/__init__.py +400 -0
  2. atomisticparsers/amber/__init__.py +19 -0
  3. atomisticparsers/amber/__main__.py +31 -0
  4. atomisticparsers/amber/metainfo/__init__.py +19 -0
  5. atomisticparsers/amber/metainfo/amber.py +495 -0
  6. atomisticparsers/amber/parser.py +42 -0
  7. atomisticparsers/asap/__init__.py +19 -0
  8. atomisticparsers/asap/__main__.py +31 -0
  9. atomisticparsers/asap/metainfo/__init__.py +19 -0
  10. atomisticparsers/asap/metainfo/asap.py +75 -0
  11. atomisticparsers/asap/parser.py +197 -0
  12. atomisticparsers/bopfox/__init__.py +19 -0
  13. atomisticparsers/bopfox/__main__.py +31 -0
  14. atomisticparsers/bopfox/metainfo/__init__.py +19 -0
  15. atomisticparsers/bopfox/metainfo/bopfox.py +225 -0
  16. atomisticparsers/bopfox/parser.py +808 -0
  17. atomisticparsers/dftbplus/__init__.py +19 -0
  18. atomisticparsers/dftbplus/__main__.py +31 -0
  19. atomisticparsers/dftbplus/metainfo/__init__.py +19 -0
  20. atomisticparsers/dftbplus/metainfo/dftbplus.py +217 -0
  21. atomisticparsers/dftbplus/parser.py +500 -0
  22. atomisticparsers/dlpoly/__init__.py +19 -0
  23. atomisticparsers/dlpoly/__main__.py +31 -0
  24. atomisticparsers/dlpoly/metainfo/__init__.py +19 -0
  25. atomisticparsers/dlpoly/metainfo/dl_poly.py +312 -0
  26. atomisticparsers/dlpoly/parser.py +798 -0
  27. atomisticparsers/gromacs/__init__.py +19 -0
  28. atomisticparsers/gromacs/__main__.py +31 -0
  29. atomisticparsers/gromacs/metainfo/__init__.py +19 -0
  30. atomisticparsers/gromacs/metainfo/gromacs.py +2388 -0
  31. atomisticparsers/gromacs/parser.py +1581 -0
  32. atomisticparsers/gromos/__init__.py +19 -0
  33. atomisticparsers/gromos/__main__.py +31 -0
  34. atomisticparsers/gromos/metainfo/__init__.py +19 -0
  35. atomisticparsers/gromos/metainfo/gromos.py +1995 -0
  36. atomisticparsers/gromos/parser.py +58 -0
  37. atomisticparsers/gulp/__init__.py +19 -0
  38. atomisticparsers/gulp/__main__.py +31 -0
  39. atomisticparsers/gulp/metainfo/__init__.py +19 -0
  40. atomisticparsers/gulp/metainfo/gulp.py +1117 -0
  41. atomisticparsers/gulp/parser.py +1316 -0
  42. atomisticparsers/h5md/__init__.py +19 -0
  43. atomisticparsers/h5md/__main__.py +31 -0
  44. atomisticparsers/h5md/metainfo/__init__.py +19 -0
  45. atomisticparsers/h5md/metainfo/h5md.py +239 -0
  46. atomisticparsers/h5md/parser.py +901 -0
  47. atomisticparsers/lammps/__init__.py +19 -0
  48. atomisticparsers/lammps/__main__.py +31 -0
  49. atomisticparsers/lammps/metainfo/__init__.py +19 -0
  50. atomisticparsers/lammps/metainfo/lammps.py +1417 -0
  51. atomisticparsers/lammps/parser.py +1753 -0
  52. atomisticparsers/libatoms/__init__.py +19 -0
  53. atomisticparsers/libatoms/__main__.py +31 -0
  54. atomisticparsers/libatoms/metainfo/__init__.py +19 -0
  55. atomisticparsers/libatoms/metainfo/lib_atoms.py +251 -0
  56. atomisticparsers/libatoms/parser.py +38 -0
  57. atomisticparsers/namd/__init__.py +19 -0
  58. atomisticparsers/namd/__main__.py +31 -0
  59. atomisticparsers/namd/metainfo/__init__.py +19 -0
  60. atomisticparsers/namd/metainfo/namd.py +1605 -0
  61. atomisticparsers/namd/parser.py +312 -0
  62. atomisticparsers/tinker/__init__.py +19 -0
  63. atomisticparsers/tinker/__main__.py +31 -0
  64. atomisticparsers/tinker/metainfo/__init__.py +18 -0
  65. atomisticparsers/tinker/metainfo/tinker.py +1363 -0
  66. atomisticparsers/tinker/parser.py +685 -0
  67. atomisticparsers/utils/__init__.py +22 -0
  68. atomisticparsers/utils/mdanalysis.py +662 -0
  69. atomisticparsers/utils/parsers.py +226 -0
  70. atomisticparsers/xtb/__init__.py +19 -0
  71. atomisticparsers/xtb/__main__.py +32 -0
  72. atomisticparsers/xtb/metainfo/__init__.py +19 -0
  73. atomisticparsers/xtb/metainfo/xtb.py +256 -0
  74. atomisticparsers/xtb/parser.py +979 -0
  75. nomad_parser_plugins_atomistic-1.0.dist-info/LICENSE +202 -0
  76. nomad_parser_plugins_atomistic-1.0.dist-info/METADATA +327 -0
  77. nomad_parser_plugins_atomistic-1.0.dist-info/RECORD +80 -0
  78. nomad_parser_plugins_atomistic-1.0.dist-info/WHEEL +5 -0
  79. nomad_parser_plugins_atomistic-1.0.dist-info/entry_points.txt +15 -0
  80. nomad_parser_plugins_atomistic-1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,400 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD.
5
+ # See https://nomad-lab.eu for further info.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ from pydantic import Field
20
+ from typing import Optional
21
+
22
+ from nomad.config.models.plugins import ParserEntryPoint
23
+
24
+
25
+ class EntryPoint(ParserEntryPoint):
26
+ parser_class_name: str = Field(
27
+ description="""
28
+ The fully qualified name of the Python class that implements the parser.
29
+ This class must have a function `def parse(self, mainfile, archive, logger)`.
30
+ """
31
+ )
32
+ code_name: Optional[str]
33
+ code_homepage: Optional[str]
34
+ code_category: Optional[str]
35
+ metadata: Optional[dict] = Field(
36
+ description="""
37
+ Metadata passed to the UI. Deprecated. """
38
+ )
39
+
40
+ def load(self):
41
+ from nomad.parsing import MatchingParserInterface
42
+
43
+ return MatchingParserInterface(**self.dict())
44
+
45
+
46
+ amber_parser_entry_point = EntryPoint(
47
+ name='parsers/amber',
48
+ aliases=['parsers/amber'],
49
+ description='NOMAD parser for AMBER.',
50
+ python_package='atomisticparsers.amber',
51
+ mainfile_contents_re=r'\s*Amber\s[0-9]+\s[A-Z]+\s*[0-9]+',
52
+ parser_class_name='atomisticparsers.amber.AmberParser',
53
+ code_name='Amber',
54
+ code_homepage='http://ambermd.org/',
55
+ code_category='Atomistic code',
56
+ metadata={
57
+ 'codeCategory': 'Atomistic code',
58
+ 'codeLabel': 'Amber',
59
+ 'codeLabelStyle': 'only first character in capitals',
60
+ 'codeName': 'amber',
61
+ 'codeUrl': 'http://ambermd.org/',
62
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/amber/',
63
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
64
+ 'parserSpecific': 'The Amber parser supports the SANDER and PMEMD Molecular Dynamics codes.',
65
+ 'status': 'production',
66
+ 'tableOfFiles': '',
67
+ },
68
+ )
69
+
70
+ asap_parser_entry_point = EntryPoint(
71
+ name='parsers/asap',
72
+ aliases=['parsers/asap'],
73
+ description='NOMAD parser for ASAP.',
74
+ python_package='atomisticparsers.asap',
75
+ mainfile_binary_header_re=b'AFFormatASE\\-Trajectory',
76
+ mainfile_mime_re='application/octet-stream',
77
+ mainfile_name_re=r'.*.traj$',
78
+ parser_class_name='atomisticparsers.asap.AsapParser',
79
+ code_name='ASAP',
80
+ code_homepage='https://wiki.fysik.dtu.dk/asap',
81
+ code_category='Atomistic code',
82
+ metadata={
83
+ 'codeCategory': 'Atomistic code',
84
+ 'codeLabel': 'ASAP',
85
+ 'codeLabelStyle': 'all in capitals',
86
+ 'codeName': 'asap',
87
+ 'codeUrl': 'https://wiki.fysik.dtu.dk/asap',
88
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/asap/',
89
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
90
+ 'parserSpecific': '',
91
+ 'preamble': '',
92
+ 'status': 'production',
93
+ 'tableOfFiles': '',
94
+ },
95
+ )
96
+
97
+ bopfox_parser_entry_point = EntryPoint(
98
+ name='parsers/bopfox',
99
+ aliases=['parsers/bopfox'],
100
+ description='NOMAD parser for BOPFOX.',
101
+ python_package='atomisticparsers.bopfox',
102
+ mainfile_contents_re=r'\-+\s+BOPfox \(v',
103
+ parser_class_name='atomisticparsers.bopfox.BOPfoxParser',
104
+ code_name='BOPfox',
105
+ code_homepage='http://bopfox.de/',
106
+ code_category='Atomistic code',
107
+ metadata={
108
+ 'codeCategory': 'Atomistic code',
109
+ 'codeLabel': 'BOPfox',
110
+ 'codeLabelStyle': 'Capitals: B,O,P',
111
+ 'codeName': 'bopfox',
112
+ 'codeUrl': 'http://bopfox.de/',
113
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/bopfox/',
114
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
115
+ 'parserSpecific': '',
116
+ 'preamble': '',
117
+ 'status': 'production',
118
+ 'tableOfFiles': '',
119
+ },
120
+ )
121
+
122
+ dftbplus_parser_entry_point = EntryPoint(
123
+ name='parsers/dftbplus',
124
+ aliases=['parsers/dftbplus'],
125
+ description='NOMAD parser for DFTBPLUS.',
126
+ python_package='atomisticparsers.dftbplus',
127
+ mainfile_contents_re=r'\| DFTB\+',
128
+ mainfile_mime_re='text/.*',
129
+ parser_class_name='atomisticparsers.dftbplus.DFTBPlusParser',
130
+ code_name='DFTB+',
131
+ code_homepage='http://www.dftbplus.org/',
132
+ code_category='Atomistic code',
133
+ metadata={
134
+ 'codeCategory': 'Atomistic code',
135
+ 'codeLabel': 'DFTB+',
136
+ 'codeLabelStyle': 'all in capitals; use + instead of word',
137
+ 'codeName': 'dftbplus',
138
+ 'codeUrl': 'http://www.dftbplus.org/',
139
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/dftbplus/',
140
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
141
+ 'parserSpecific': '',
142
+ 'preamble': '',
143
+ 'status': 'production',
144
+ 'tableOfFiles': '',
145
+ },
146
+ )
147
+
148
+ dlpoly_parser_entry_point = EntryPoint(
149
+ name='parsers/dl-poly',
150
+ aliases=['parsers/dl-poly'],
151
+ description='NOMAD parser for DLPOLY.',
152
+ python_package='atomisticparsers.dlpoly',
153
+ mainfile_contents_re=r'\*\*\s+DL_POLY.+\*\*',
154
+ parser_class_name='atomisticparsers.dlpoly.DLPolyParser',
155
+ code_name='DL_POLY',
156
+ code_homepage='https://www.scd.stfc.ac.uk/Pages/DL_POLY.aspx',
157
+ code_category='Atomistic code',
158
+ metadata={
159
+ 'codeCategory': 'Atomistic code',
160
+ 'codeLabel': 'DL_POLY',
161
+ 'codeLabelStyle': 'all capitals and underscore, not dash (minus)',
162
+ 'codeName': 'dl-poly',
163
+ 'codeUrl': 'https://www.scd.stfc.ac.uk/Pages/DL_POLY.aspx',
164
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/dl-poly/',
165
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
166
+ 'parserSpecific': '',
167
+ 'preamble': '',
168
+ 'status': 'production',
169
+ 'tableOfFiles': '',
170
+ },
171
+ )
172
+
173
+ gromacs_parser_entry_point = EntryPoint(
174
+ name='parsers/gromacs',
175
+ aliases=['parsers/gromacs'],
176
+ description='NOMAD parser for GROMACS.',
177
+ python_package='atomisticparsers.gromacs',
178
+ mainfile_contents_re=r'gmx mdrun, (VERSION|version)[\s\S]*Input Parameters:',
179
+ parser_class_name='atomisticparsers.gromacs.GromacsParser',
180
+ code_name='GROMACS',
181
+ code_homepage='http://www.gromacs.org/',
182
+ code_category='Atomistic code',
183
+ metadata={
184
+ 'codeCategory': 'Atomistic code',
185
+ 'codeLabel': 'GROMACS',
186
+ 'codeLabelStyle': 'All in capitals',
187
+ 'codeName': 'gromacs',
188
+ 'codeUrl': 'http://www.gromacs.org/',
189
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/gromacs/',
190
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
191
+ 'parserSpecific': '',
192
+ 'preamble': '',
193
+ 'status': 'production',
194
+ 'tableOfFiles': '',
195
+ },
196
+ )
197
+
198
+ gromos_parser_entry_point = EntryPoint(
199
+ name='parsers/gromos',
200
+ aliases=['parsers/gromos'],
201
+ description='NOMAD parser for GROMOS.',
202
+ python_package='atomisticparsers.gromos',
203
+ mainfile_contents_re=r'Bugreports to http://www.gromos.net',
204
+ parser_class_name='atomisticparsers.gromos.GromosParser',
205
+ code_name='GROMOS',
206
+ code_homepage='http://www.gromos.net/',
207
+ code_category='Atomistic code',
208
+ metadata={
209
+ 'codeCategory': 'Atomistic code',
210
+ 'codeLabel': 'GROMOS',
211
+ 'codeLabelStyle': 'All in capitals',
212
+ 'codeName': 'gromos',
213
+ 'codeUrl': 'http://www.gromos.net/',
214
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/gromos/',
215
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
216
+ 'parserSpecific': '',
217
+ 'preamble': '',
218
+ 'status': 'production',
219
+ 'tableOfFiles': '',
220
+ },
221
+ )
222
+
223
+ gulp_parser_entry_point = EntryPoint(
224
+ name='parsers/gulp',
225
+ aliases=['parsers/gulp'],
226
+ description='NOMAD parser for GULP.',
227
+ python_package='atomisticparsers.gulp',
228
+ mainfile_contents_re=(
229
+ r'\s*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\s*\s*\*\s*GENERAL UTILITY '
230
+ r'LATTICE PROGRAM\s*\*\s*'
231
+ ),
232
+ parser_class_name='atomisticparsers.gulp.GulpParser',
233
+ code_name='GULP',
234
+ code_homepage='http://gulp.curtin.edu.au/gulp/',
235
+ code_category='Atomistic code',
236
+ metadata={
237
+ 'codeCategory': 'Atomistic code',
238
+ 'codeLabel': 'GULP',
239
+ 'codeLabelStyle': 'All in capitals',
240
+ 'codeName': 'gulp',
241
+ 'codeUrl': 'http://gulp.curtin.edu.au/gulp/',
242
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/gulp/',
243
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
244
+ 'parserSpecific': '',
245
+ 'preamble': '',
246
+ 'status': 'production',
247
+ 'tableOfFiles': '',
248
+ },
249
+ )
250
+
251
+ h5md_parser_entry_point = EntryPoint(
252
+ name='parsers/h5md',
253
+ aliases=['parsers/h5md'],
254
+ description='NOMAD parser for H5MD.',
255
+ python_package='atomisticparsers.h5md',
256
+ mainfile_binary_header_re=b'^\\x89HDF',
257
+ mainfile_contents_dict={'__has_all_keys': ['h5md']},
258
+ mainfile_mime_re='(application/x-hdf)',
259
+ mainfile_name_re=r'^.*\.(h5|hdf5)$',
260
+ parser_class_name='atomisticparsers.h5md.H5MDParser',
261
+ code_name='H5MD',
262
+ code_category='Atomistic code',
263
+ metadata={
264
+ 'codeCategory': 'Atomistic code',
265
+ 'codeLabel': 'H5MD',
266
+ 'codeLabelStyle': 'All in capitals',
267
+ 'codeName': 'h5md',
268
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/h5md/',
269
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
270
+ 'parserSpecific': '',
271
+ 'preamble': '',
272
+ 'status': 'production',
273
+ 'tableOfFiles': '',
274
+ },
275
+ )
276
+
277
+ lammps_parser_entry_point = EntryPoint(
278
+ name='parsers/lammps',
279
+ aliases=['parsers/lammps'],
280
+ description='NOMAD parser for LAMMPS.',
281
+ python_package='atomisticparsers.lammps',
282
+ mainfile_contents_re=r'^LAMMPS\s+\(.+\)',
283
+ parser_class_name='atomisticparsers.lammps.LammpsParser',
284
+ code_name='LAMMPS',
285
+ code_homepage='https://lammps.sandia.gov/',
286
+ code_category='Atomistic code',
287
+ metadata={
288
+ 'codeCategory': 'Atomistic code',
289
+ 'codeLabel': 'LAMMPS',
290
+ 'codeLabelStyle': 'All in capitals',
291
+ 'codeName': 'lammps',
292
+ 'codeUrl': 'https://lammps.sandia.gov/',
293
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/lammps/',
294
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
295
+ 'preamble': '',
296
+ 'status': 'production',
297
+ 'tableOfFiles': '',
298
+ },
299
+ )
300
+
301
+ libatoms_parser_entry_point = EntryPoint(
302
+ name='parsers/lib-atoms',
303
+ aliases=['parsers/lib-atoms'],
304
+ description='NOMAD parser for LIBATOMS.',
305
+ python_package='atomisticparsers.libatoms',
306
+ mainfile_contents_re=r'\s*<GAP_params\s',
307
+ parser_class_name='atomisticparsers.libatoms.LibAtomsParser',
308
+ code_name='libAtoms',
309
+ code_homepage='http://libatoms.github.io/',
310
+ code_category='Atomistic code',
311
+ metadata={
312
+ 'codeCategory': 'Atomistic code',
313
+ 'codeLabel': 'libAtoms',
314
+ 'codeLabelStyle': 'Capitals: A',
315
+ 'codeName': 'lib-atoms',
316
+ 'codeUrl': 'http://libatoms.github.io/',
317
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/lib-atoms/',
318
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
319
+ 'parserSpecific': '',
320
+ 'preamble': '',
321
+ 'status': 'production',
322
+ 'tableOfFiles': '',
323
+ },
324
+ )
325
+
326
+ namd_parser_entry_point = EntryPoint(
327
+ name='parsers/namd',
328
+ aliases=['parsers/namd'],
329
+ description='NOMAD parser for NAMD.',
330
+ python_package='atomisticparsers.namd',
331
+ mainfile_contents_re=r'\s*Info:\s*NAMD\s*[0-9.]+\s*for\s*',
332
+ mainfile_mime_re='text/.*',
333
+ parser_class_name='atomisticparsers.namd.NAMDParser',
334
+ code_name='NAMD',
335
+ code_homepage='http://www.ks.uiuc.edu/Research/namd/',
336
+ code_category='Atomistic code',
337
+ metadata={
338
+ 'codeCategory': 'Atomistic code',
339
+ 'codeLabel': 'NAMD',
340
+ 'codeLabelStyle': 'All in capitals',
341
+ 'codeName': 'namd',
342
+ 'codeUrl': 'http://www.ks.uiuc.edu/Research/namd/',
343
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/namd/',
344
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
345
+ 'parserSpecific': '',
346
+ 'preamble': '',
347
+ 'status': 'production',
348
+ 'tableOfFiles': '',
349
+ },
350
+ )
351
+
352
+ tinker_parser_entry_point = EntryPoint(
353
+ name='parsers/tinker',
354
+ aliases=['parsers/tinker'],
355
+ description='NOMAD parser for TINKER.',
356
+ python_package='atomisticparsers.tinker',
357
+ mainfile_contents_re=r'TINKER --- Software Tools for Molecular Design',
358
+ parser_class_name='atomisticparsers.tinker.TinkerParser',
359
+ code_name='Tinker',
360
+ code_homepage='https://dasher.wustl.edu/tinker/',
361
+ code_category='Atomistic code',
362
+ metadata={
363
+ 'codeCategory': 'Atomistic code',
364
+ 'codeLabel': 'Tinker',
365
+ 'codeLabelStyle': 'Capitals: T',
366
+ 'codeName': 'tinker',
367
+ 'codeUrl': 'https://dasher.wustl.edu/tinker/',
368
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/tinker/',
369
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
370
+ 'parserSpecific': '',
371
+ 'preamble': '',
372
+ 'status': 'production',
373
+ 'tableOfFiles': '',
374
+ },
375
+ )
376
+
377
+ xtb_parser_entry_point = EntryPoint(
378
+ name='parsers/xtb',
379
+ aliases=['parsers/xtb'],
380
+ description='NOMAD parser for XTB.',
381
+ python_package='atomisticparsers.xtb',
382
+ mainfile_contents_re=r'x T B\s+\|\s+\|\s+=',
383
+ parser_class_name='atomisticparsers.xtb.XTBParser',
384
+ code_name='xTB',
385
+ code_homepage='https://www.chemie.uni-bonn.de/pctc/mulliken-center/software/xtb/',
386
+ code_category='Atomistic code',
387
+ metadata={
388
+ 'codeCategory': 'Atomistic code',
389
+ 'codeLabel': 'xTB',
390
+ 'codeLabelStyle': 'Capitals: TB',
391
+ 'codeName': 'xtb',
392
+ 'codeUrl': 'https://www.chemie.uni-bonn.de/pctc/mulliken-center/software/xtb/',
393
+ 'parserDirName': 'dependencies/parsers/atomistic/atomisticparsers/gromacs//xtb/',
394
+ 'parserGitUrl': 'https://github.com/nomad-coe/atomistic-parsers.git',
395
+ 'parserSpecific': '',
396
+ 'preamble': '',
397
+ 'status': 'production',
398
+ 'tableOfFiles': '|Input Filename| Description|\n|--- | --- |\n|`*.out` | **Mainfile:** a plain text file w/ **user-defined** name|\n|`*.coord`|plain text; structure file|\n|`*.xyz`| plain text, structure file|\n|`*xtbopt.log`|plain text, trajectory file of geometry optimization|\n|`*xtb.trj`|plain text, trajectory of molecular dynamics|\n|`*xtbtopo.mol`|plain text, topology file|\n|`*xtbrestart`|binary file, restart file|\n|`charges` |plain text, output charges|\n',
399
+ },
400
+ )
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD.
5
+ # See https://nomad-lab.eu for further info.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ from .parser import AmberParser
@@ -0,0 +1,31 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD.
5
+ # See https://nomad-lab.eu for further info.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ import sys
20
+ import json
21
+ import logging
22
+
23
+ from nomad.utils import configure_logging
24
+ from nomad.datamodel import EntryArchive
25
+ from atomisticparsers.amber import AmberParser
26
+
27
+ if __name__ == '__main__':
28
+ configure_logging(console_log_level=logging.DEBUG)
29
+ archive = EntryArchive()
30
+ AmberParser().parse(sys.argv[1], archive, logging)
31
+ json.dump(archive.m_to_dict(), sys.stdout, indent=2)
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD.
5
+ # See https://nomad-lab.eu for further info.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ from . import amber