nomad-parser-plugins-workflow 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 (58) hide show
  1. nomad_parser_plugins_workflow-1.0.dist-info/LICENSE +202 -0
  2. nomad_parser_plugins_workflow-1.0.dist-info/METADATA +319 -0
  3. nomad_parser_plugins_workflow-1.0.dist-info/RECORD +58 -0
  4. nomad_parser_plugins_workflow-1.0.dist-info/WHEEL +5 -0
  5. nomad_parser_plugins_workflow-1.0.dist-info/entry_points.txt +11 -0
  6. nomad_parser_plugins_workflow-1.0.dist-info/top_level.txt +1 -0
  7. workflowparsers/__init__.py +314 -0
  8. workflowparsers/aflow/__init__.py +19 -0
  9. workflowparsers/aflow/__main__.py +31 -0
  10. workflowparsers/aflow/metainfo/__init__.py +19 -0
  11. workflowparsers/aflow/metainfo/aflow.py +1240 -0
  12. workflowparsers/aflow/parser.py +741 -0
  13. workflowparsers/asr/__init__.py +19 -0
  14. workflowparsers/asr/__main__.py +31 -0
  15. workflowparsers/asr/metainfo/__init__.py +19 -0
  16. workflowparsers/asr/metainfo/asr.py +306 -0
  17. workflowparsers/asr/parser.py +266 -0
  18. workflowparsers/atomate/__init__.py +19 -0
  19. workflowparsers/atomate/__main__.py +31 -0
  20. workflowparsers/atomate/metainfo/__init__.py +19 -0
  21. workflowparsers/atomate/metainfo/atomate.py +395 -0
  22. workflowparsers/atomate/parser.py +357 -0
  23. workflowparsers/elastic/__init__.py +19 -0
  24. workflowparsers/elastic/__main__.py +31 -0
  25. workflowparsers/elastic/metainfo/__init__.py +19 -0
  26. workflowparsers/elastic/metainfo/elastic.py +364 -0
  27. workflowparsers/elastic/parser.py +798 -0
  28. workflowparsers/fhivibes/__init__.py +19 -0
  29. workflowparsers/fhivibes/__main__.py +31 -0
  30. workflowparsers/fhivibes/metainfo/__init__.py +19 -0
  31. workflowparsers/fhivibes/metainfo/fhi_vibes.py +898 -0
  32. workflowparsers/fhivibes/parser.py +566 -0
  33. workflowparsers/lobster/__init__.py +19 -0
  34. workflowparsers/lobster/__main__.py +31 -0
  35. workflowparsers/lobster/metainfo/__init__.py +19 -0
  36. workflowparsers/lobster/metainfo/lobster.py +446 -0
  37. workflowparsers/lobster/parser.py +618 -0
  38. workflowparsers/phonopy/__init__.py +19 -0
  39. workflowparsers/phonopy/__main__.py +31 -0
  40. workflowparsers/phonopy/calculator.py +260 -0
  41. workflowparsers/phonopy/metainfo/__init__.py +19 -0
  42. workflowparsers/phonopy/metainfo/phonopy.py +83 -0
  43. workflowparsers/phonopy/parser.py +583 -0
  44. workflowparsers/quantum_espresso_epw/__init__.py +19 -0
  45. workflowparsers/quantum_espresso_epw/__main__.py +31 -0
  46. workflowparsers/quantum_espresso_epw/metainfo/__init__.py +19 -0
  47. workflowparsers/quantum_espresso_epw/metainfo/quantum_espresso_epw.py +579 -0
  48. workflowparsers/quantum_espresso_epw/parser.py +583 -0
  49. workflowparsers/quantum_espresso_phonon/__init__.py +19 -0
  50. workflowparsers/quantum_espresso_phonon/__main__.py +31 -0
  51. workflowparsers/quantum_espresso_phonon/metainfo/__init__.py +19 -0
  52. workflowparsers/quantum_espresso_phonon/metainfo/quantum_espresso_phonon.py +389 -0
  53. workflowparsers/quantum_espresso_phonon/parser.py +483 -0
  54. workflowparsers/quantum_espresso_xspectra/__init__.py +19 -0
  55. workflowparsers/quantum_espresso_xspectra/__main__.py +31 -0
  56. workflowparsers/quantum_espresso_xspectra/metainfo/__init__.py +19 -0
  57. workflowparsers/quantum_espresso_xspectra/metainfo/quantum_espresso_xspectra.py +290 -0
  58. workflowparsers/quantum_espresso_xspectra/parser.py +586 -0
@@ -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 atomate
@@ -0,0 +1,395 @@
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 numpy as np # pylint: disable=unused-import
20
+ import typing # pylint: disable=unused-import
21
+ from nomad.metainfo import ( # pylint: disable=unused-import
22
+ MSection,
23
+ MCategory,
24
+ Category,
25
+ Package,
26
+ Quantity,
27
+ Section,
28
+ SubSection,
29
+ SectionProxy,
30
+ Reference,
31
+ )
32
+
33
+ import runschema.run # pylint: disable=unused-import
34
+ import runschema.calculation # pylint: disable=unused-import
35
+ import runschema.method # pylint: disable=unused-import
36
+ import runschema.system # pylint: disable=unused-import
37
+
38
+
39
+ m_package = Package()
40
+
41
+
42
+ class CalcTypes(MSection):
43
+ m_def = Section(validate=False)
44
+
45
+ x_mp_label = Quantity(
46
+ type=str,
47
+ shape=[],
48
+ description="""
49
+ """,
50
+ )
51
+
52
+ x_mp_value = Quantity(
53
+ type=str,
54
+ shape=[],
55
+ description="""
56
+ """,
57
+ )
58
+
59
+
60
+ class Origins(MSection):
61
+ m_def = Section(validate=False)
62
+
63
+ x_mp_name = Quantity(
64
+ type=str,
65
+ shape=[],
66
+ description="""
67
+ """,
68
+ )
69
+
70
+ x_mp_task_id = Quantity(
71
+ type=str,
72
+ shape=[],
73
+ description="""
74
+ """,
75
+ )
76
+
77
+ x_mp_last_updated = Quantity(
78
+ type=str,
79
+ shape=[],
80
+ description="""
81
+ """,
82
+ )
83
+
84
+
85
+ class Run(runschema.run.Run):
86
+ m_def = Section(validate=False, extends_base_section=True)
87
+
88
+ x_mp_emmet_version = Quantity(
89
+ type=str,
90
+ shape=[],
91
+ description="""
92
+ """,
93
+ )
94
+
95
+ x_mp_pymatgen_version = Quantity(
96
+ type=str,
97
+ shape=[],
98
+ description="""
99
+ """,
100
+ )
101
+
102
+ x_mp_build_date = Quantity(
103
+ type=str,
104
+ shape=[],
105
+ description="""
106
+ """,
107
+ )
108
+
109
+ x_mp_cif = Quantity(
110
+ type=str,
111
+ shape=[],
112
+ description="""
113
+ """,
114
+ )
115
+
116
+ x_mp_n_tags = Quantity(
117
+ type=np.int32,
118
+ shape=[],
119
+ description="""
120
+ """,
121
+ )
122
+
123
+ x_mp_tags = Quantity(
124
+ type=str,
125
+ shape=['x_mp_n_tags'],
126
+ description="""
127
+ """,
128
+ )
129
+
130
+ x_mp_material_id = Quantity(
131
+ type=str,
132
+ shape=[],
133
+ description="""
134
+ """,
135
+ )
136
+
137
+ x_mp_deprecated = Quantity(
138
+ type=str,
139
+ shape=[],
140
+ description="""
141
+ """,
142
+ )
143
+
144
+ x_mp_n_tasks = Quantity(
145
+ type=np.int32,
146
+ shape=[],
147
+ description="""
148
+ """,
149
+ )
150
+
151
+ x_mp_task_ids = Quantity(
152
+ type=str,
153
+ shape=['x_mp_n_tasks'],
154
+ description="""
155
+ """,
156
+ )
157
+
158
+ x_mp_icsd_id = Quantity(
159
+ type=np.int32,
160
+ shape=[],
161
+ description="""
162
+ """,
163
+ )
164
+
165
+ x_mp_icsd_ids = Quantity(
166
+ type=np.int32,
167
+ shape=['x_mp_n_tasks'],
168
+ description="""
169
+ """,
170
+ )
171
+
172
+ x_mp_last_updated = Quantity(
173
+ type=str,
174
+ shape=[],
175
+ description="""
176
+ """,
177
+ )
178
+
179
+ x_mp_created_at = Quantity(
180
+ type=str,
181
+ shape=[],
182
+ description="""
183
+ """,
184
+ )
185
+
186
+ x_mp_calc_types = SubSection(sub_section=CalcTypes.m_def, repeats=True)
187
+
188
+ x_mp_origins = SubSection(sub_section=Origins.m_def, repeats=True)
189
+
190
+
191
+ class Composition(MSection):
192
+ m_def = Section(validate=False)
193
+
194
+ x_mp_label = Quantity(
195
+ type=str,
196
+ shape=[],
197
+ description="""
198
+ """,
199
+ )
200
+
201
+ x_mp_value = Quantity(
202
+ type=np.float64,
203
+ shape=[],
204
+ description="""
205
+ """,
206
+ )
207
+
208
+
209
+ class Symmetry(MSection):
210
+ m_def = Section(validate=False)
211
+
212
+ x_mp_symprec = Quantity(
213
+ type=np.float64,
214
+ shape=[],
215
+ description="""
216
+ """,
217
+ )
218
+
219
+ x_mp_version = Quantity(
220
+ type=str,
221
+ shape=[],
222
+ description="""
223
+ """,
224
+ )
225
+
226
+ x_mp_source = Quantity(
227
+ type=str,
228
+ shape=[],
229
+ description="""
230
+ """,
231
+ )
232
+
233
+ x_mp_symbol = Quantity(
234
+ type=str,
235
+ shape=[],
236
+ description="""
237
+ """,
238
+ )
239
+
240
+ x_mp_number = Quantity(
241
+ type=np.int32,
242
+ shape=[],
243
+ description="""
244
+ """,
245
+ )
246
+
247
+ x_mp_point_group = Quantity(
248
+ type=str,
249
+ shape=[],
250
+ description="""
251
+ """,
252
+ )
253
+
254
+ x_mp_crystal_system = Quantity(
255
+ type=str,
256
+ shape=[],
257
+ description="""
258
+ """,
259
+ )
260
+
261
+ x_mp_hall = Quantity(
262
+ type=str,
263
+ shape=[],
264
+ description="""
265
+ """,
266
+ )
267
+
268
+
269
+ class System(runschema.system.System):
270
+ m_def = Section(validate=False, extends_base_section=True)
271
+
272
+ x_mp_formula_anonymous = Quantity(
273
+ type=str,
274
+ shape=[],
275
+ description="""
276
+ """,
277
+ )
278
+
279
+ x_mp_oxide_type = Quantity(
280
+ type=str,
281
+ shape=[],
282
+ description="""
283
+ """,
284
+ )
285
+
286
+ x_mp_chemsys = Quantity(
287
+ type=str,
288
+ shape=[],
289
+ description="""
290
+ """,
291
+ )
292
+
293
+ x_mp_formula_pretty = Quantity(
294
+ type=str,
295
+ shape=[],
296
+ description="""
297
+ """,
298
+ )
299
+
300
+ x_mp_volume = Quantity(
301
+ type=np.float64,
302
+ shape=[],
303
+ description="""
304
+ """,
305
+ )
306
+
307
+ x_mp_density = Quantity(
308
+ type=np.float64,
309
+ shape=[],
310
+ description="""
311
+ """,
312
+ )
313
+
314
+ x_mp_density_atomic = Quantity(
315
+ type=np.float64,
316
+ shape=[],
317
+ description="""
318
+ """,
319
+ )
320
+
321
+ x_mp_nelements = Quantity(
322
+ type=np.int32,
323
+ shape=[],
324
+ description="""
325
+ """,
326
+ )
327
+
328
+ x_mp_elements = Quantity(
329
+ type=str,
330
+ shape=['x_mp_nelements'],
331
+ description="""
332
+ """,
333
+ )
334
+
335
+ x_mp_nsites = Quantity(
336
+ type=np.int32,
337
+ shape=[],
338
+ description="""
339
+ """,
340
+ )
341
+
342
+ x_mp_symmetry = SubSection(sub_section=Symmetry.m_def, repeats=True)
343
+
344
+ x_mp_composition = SubSection(sub_section=Composition.m_def, repeats=True)
345
+
346
+ x_mp_composition_reduced = SubSection(sub_section=Composition.m_def, repeats=True)
347
+
348
+
349
+ class Hubbard(MSection):
350
+ m_def = Section(validate=False)
351
+
352
+ x_mp_element = Quantity(
353
+ type=str,
354
+ shape=[],
355
+ description="""
356
+ """,
357
+ )
358
+
359
+ x_mp_hubbard = Quantity(
360
+ type=np.float64,
361
+ shape=[],
362
+ description="""
363
+ """,
364
+ )
365
+
366
+
367
+ class Method(runschema.method.Method):
368
+ m_def = Section(validate=False, extends_base_section=True)
369
+
370
+ x_mp_is_compatible = Quantity(
371
+ type=bool,
372
+ shape=[],
373
+ description="""
374
+ """,
375
+ )
376
+
377
+ x_mp_is_hubbard = Quantity(
378
+ type=bool,
379
+ shape=[],
380
+ description="""
381
+ """,
382
+ )
383
+
384
+ x_mp_hubbards = SubSection(sub_section=Hubbard.m_def, repeats=True)
385
+
386
+
387
+ class Calculation(runschema.calculation.Calculation):
388
+ m_def = Section(validate=False, extends_base_section=True)
389
+
390
+ x_mp_uncorrected_energy_per_atom = Quantity(
391
+ type=np.float64,
392
+ shape=[],
393
+ description="""
394
+ """,
395
+ )